mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Add-to-app iOS flutter_post_install post_install hook (#1079)
This commit is contained in:
@@ -10,3 +10,7 @@ target 'IosBooks' do
|
|||||||
# Pods for IosBooks
|
# Pods for IosBooks
|
||||||
install_all_flutter_pods(flutter_application_path)
|
install_all_flutter_pods(flutter_application_path)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
post_install do |installer|
|
||||||
|
flutter_post_install(installer) if defined?(flutter_post_install)
|
||||||
|
end
|
||||||
|
|||||||
@@ -22,3 +22,7 @@ target 'IOSFullScreen' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
post_install do |installer|
|
||||||
|
flutter_post_install(installer) if defined?(flutter_post_install)
|
||||||
|
end
|
||||||
|
|||||||
@@ -9,3 +9,7 @@ target 'MultipleFluttersIos' do
|
|||||||
use_frameworks!
|
use_frameworks!
|
||||||
install_all_flutter_pods(flutter_application_path)
|
install_all_flutter_pods(flutter_application_path)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
post_install do |installer|
|
||||||
|
flutter_post_install(installer) if defined?(flutter_post_install)
|
||||||
|
end
|
||||||
|
|||||||
@@ -20,5 +20,8 @@ target 'IOSUsingPlugin' do
|
|||||||
inherit! :search_paths
|
inherit! :search_paths
|
||||||
# Pods for testing
|
# Pods for testing
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
post_install do |installer|
|
||||||
|
flutter_post_install(installer) if defined?(flutter_post_install)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user