diff --git a/apps/amiapp_flutter/ios/Flutter/AppFrameworkInfo.plist b/apps/amiapp_flutter/ios/Flutter/AppFrameworkInfo.plist index 9625e10..7c56964 100644 --- a/apps/amiapp_flutter/ios/Flutter/AppFrameworkInfo.plist +++ b/apps/amiapp_flutter/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 11.0 + 12.0 diff --git a/apps/amiapp_flutter/ios/Podfile b/apps/amiapp_flutter/ios/Podfile index 1802b8f..9435bbc 100644 --- a/apps/amiapp_flutter/ios/Podfile +++ b/apps/amiapp_flutter/ios/Podfile @@ -1,7 +1,10 @@ -# Import Ruby functions from native SDK to more easily allow installing non-production SDK builds. +# ------------- +# This code only used internally for Customer.io testing require 'open-uri' -IO.copy_stream(URI.open('https://raw.githubusercontent.com/customerio/customerio-ios/main/scripts/cocoapods_override_sdk.rb'), "/tmp/override_cio_sdk.rb") +IO.copy_stream(URI.open('https://raw.githubusercontent.com/customerio/customerio-ios/v2/scripts/cocoapods_override_sdk.rb'), "/tmp/override_cio_sdk.rb") load "/tmp/override_cio_sdk.rb" +# end of internal Customer.io testing code +# ------------- # Uncomment this line to define a global platform for your project platform :ios, '13.0' @@ -40,9 +43,9 @@ target 'Runner' do use_modular_headers! # Uncomment only 1 of the lines below to install a version of the iOS SDK - pod 'CustomerIO/MessagingPushFCM', '~> 2.11' # install production build + pod 'CustomerIO/MessagingPushFCM', '~> 2.13' # install production build # install_non_production_ios_sdk_local_path(local_path: '~/code/customerio-ios/', is_app_extension: false, push_service: "fcm") - # install_non_production_ios_sdk_git_branch(branch_name: 'name-of-ios-sdk-branch', is_app_extension: false, push_service: "fcm") + # install_non_production_ios_sdk_git_branch(branch_name: 'levi/v2-multiple-push-handlers', is_app_extension: false, push_service: "fcm") flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) end @@ -50,9 +53,9 @@ end target 'NotificationServiceExtension' do use_frameworks! # Uncomment only 1 of the lines below to install a version of the iOS SDK - pod 'CustomerIO/MessagingPushFCM', '~> 2.11' # install production build + pod 'CustomerIO/MessagingPushFCM', '~> 2.13' # install production build # install_non_production_ios_sdk_local_path(local_path: '~/code/customerio-ios/', is_app_extension: true, push_service: "fcm") - # install_non_production_ios_sdk_git_branch(branch_name: 'name-of-ios-sdk-branch', is_app_extension: true, push_service: "fcm") + # install_non_production_ios_sdk_git_branch(branch_name: 'levi/v2-multiple-push-handlers', is_app_extension: true, push_service: "fcm") end post_install do |installer| diff --git a/apps/amiapp_flutter/ios/Runner.xcodeproj/project.pbxproj b/apps/amiapp_flutter/ios/Runner.xcodeproj/project.pbxproj index fd3d87f..dd67a68 100644 --- a/apps/amiapp_flutter/ios/Runner.xcodeproj/project.pbxproj +++ b/apps/amiapp_flutter/ios/Runner.xcodeproj/project.pbxproj @@ -221,6 +221,7 @@ 97C146EB1CF9000F007C117D /* Frameworks */, 97C146EC1CF9000F007C117D /* Resources */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, + 9A84F275275010D6B13C39B0 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -240,7 +241,7 @@ attributes = { BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 1420; - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1510; ORGANIZATIONNAME = ""; TargetAttributes = { 302D7E30295BEE78005CBB29 = { @@ -369,6 +370,23 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; }; + 9A84F275275010D6B13C39B0 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; FB05793FCEE3100A134F8366 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; diff --git a/apps/amiapp_flutter/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/apps/amiapp_flutter/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index c87d15a..5e31d3d 100644 --- a/apps/amiapp_flutter/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/apps/amiapp_flutter/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@