Closed sawaca96 closed 2 years ago
Hi @sawaca96,
Thank you for this PR.
As Capacitor v4.0.0 was released a day ago, we are not planning to migrate this plugin yet and enforce updating the Capacitor version and iOS Deployment Target on our clients.
The iOS Deployment Target in our podspec
file seems to be the only blocker for using Capacitor v4.0.0 with the existing plugin.
As for now, it is possible to add the following Capacitor CLI Hooks:
"capacitor:sync:before": "sed -i -r -e \"s/s.ios.deployment_target = '12.0'/s.ios.deployment_target = '13.0'/gi\" node_modules/appsflyer-capacitor-plugin/AppsflyerCapacitorPlugin.podspec",
This will let you pump up the iOS Deployment Target and compile the app using the existing plugin.
I do not understand the part with enforce updating the Capacitor versions and deployment targets. You can release a version like 7.x.x and clients who do not wish to update the specs and move on can still use older versions. This above solution and #28 are basically "patches" that should be made in order to support newer Capacitor version and move with the flow.
capacitor 4.0.0 deployed! (release)