# Uncomment the next line to define a global platform for your project
#platform :ios, '12.0' # Recommended minimum iOS version

 compileFlutterModule = true  # Set this flag to true or false

 flutter_application_path = '../amwal_sdk_flutter_module'
 load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')


target 'AnwalPaySDKNativeiOSExample' do
  use_frameworks! # Required for Flutter modules
    if compileFlutterModule
        install_all_flutter_pods(flutter_application_path) # Use local Flutter module
      else
        pod 'amwalsdk' # Replace with the correct version
      end
end


post_install do |installer|
  flutter_post_install(installer) if defined?(flutter_post_install)
end
