chemerisuk / cordova-plugin-firebase-dynamiclinks

Cordova plugin for Firebase Dynamic Links

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pod spec needs to be updated to newer version in order to remove UIWebView references

jacobg opened this issue · comments

From Apple:

TMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs starting from December 2020 . See https://developer.apple.com/documentation/uikit/uiwebview for more information.

Currently this plugin depends on an old version of Firebase iOS: 6.3.0. It's from June 2019. In August, Firebase removed UIWebView from DynamicLinks:
https://github.com/firebase/firebase-ios-sdk/pull/3723/files

This plugin should update to a new version of Firebase iOS so that it's compliant with Apple's deprecation of UIWebView.

@jacobg

Currently this plugin depends on an old version of Firebase iOS: 6.3.0

This is no fully correct. I specified only the minimum pod version. You can always upgrade to the latest with pod update.

Does cordova run pod update in the build, or are you saying to add a build hook with a script to do that?

Run the command manually if you need to update pods to the latest versions.

You had opened a cordova-ios issue to support variables for podspec:
apache/cordova-ios#721

Though that issue was resolved with a merged pull request, that feature is not yet in a published version of cordova-ios on npm yet. It sounds like you are planning to add configurable variables to this project once the next version of cordova-ios is released?

@jacobg yes, it's planned.

@jacobg latest version updates pod dependency to 6.19.0