arnesson / cordova-plugin-firebase

Cordova plugin for Google Firebase
http://arnesson.github.io/cordova-plugin-firebase
MIT License
1k stars 1.55k forks source link

Deprecated API Usage warning mail from the Apple Team #1127

Open Sagarkhenat opened 4 years ago

Sagarkhenat commented 4 years ago

After updating to cordova-ios to 5.1.1 and adding flag in config.xml file for my ionic app.The warning did not raise for uiwebview usage.However after adding cordova-plugin-firebase(2.0.5) I received the warning mail from the Apple Team regarding the UIWebView API usage.Please do look into this matter as nearly all ionic apps use firebase plugin for push notifications.If there is any workaround for the firebase plugin, please do add the same here.

rajashekaranugu commented 4 years ago

HI @Sagarkhenat We also have same issue with firebase plugin. did you get any updates on this

Thanks Raj

Sagarkhenat commented 4 years ago

@rajashekaranugu No idea about it, the plugin maintainers have not replied about the uiwebview warning. It is probably due to the crashlytics and firebase/auth frameworks used in this plugin which is causing the warning to be raised. We have to find a way to update these firebase SDK's which are present in the plugin.

rajashekaranugu commented 4 years ago

HI @Sagarkhenat thank you. I think they stopped supporting this plugin and everyone started using firebaseX plugin. But am not sure if firebaseX is using UIWEBVIEW or not.

Also the below are my plugin list. How can we know which plugins are using UIWEBVIEW???

call-number 0.0.2 "Cordova Call Number Plugin" cordova-plugin-advanced-http 2.1.1 "Advanced HTTP plugin" cordova-plugin-aes256-encryption 1.2.2 "AES256" cordova-plugin-app-version 0.1.9 "AppVersion" cordova-plugin-browsertab 0.2.0 "cordova-plugin-browsertab" cordova-plugin-compat 1.2.0 "Compat" cordova-plugin-device 2.0.3 "Device" cordova-plugin-file 6.0.2 "File" cordova-plugin-file-opener2 2.2.1 "File Opener2" cordova-plugin-file-transfer 1.7.1 "File Transfer" cordova-plugin-fingerprint-aio 2.0.0 "FingerprintAllInOne" cordova-plugin-firebase 2.0.5 "Google Firebase Plugin" cordova-plugin-google-analytics 1.8.6 "Google Universal Analytics Plugin" cordova-plugin-inappbrowser 3.2.0 "InAppBrowser" cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-migrate-ios-storage 0.3.6 "cordova-plugin-ionic-migrate-ios-storage" cordova-plugin-ionic-webview 4.1.2 "cordova-plugin-ionic-webview" cordova-plugin-ios-keychain 3.0.1 "KeyChain Plugin for Cordova iOS" cordova-plugin-nativestorage 2.3.2 "NativeStorage" cordova-plugin-secure-storage 3.0.2 "SecureStorage" cordova-plugin-splashscreen 5.0.3 "Splashscreen" cordova-plugin-statusbar 2.4.3 "StatusBar" cordova-plugin-touch-id 3.3.1 "Touch ID" cordova-plugin-whitelist 1.3.4 "Whitelist" cordova-support-google-services 1.3.1 "cordova-support-google-services" phonegap-plugin-multidex 1.0.0 "Multidex" phonegap-plugin-push 2.3.0 "PushPlugin"

rajashekaranugu commented 4 years ago

@briantq Can you please help us on this???

Sagarkhenat commented 4 years ago

@rajashekaranugu What I did was updating to Cordova-ios to 5.1.1 and followed the steps mentioned in https://cordova.apache.org/announcements/2019/11/25/cordova-ios-release-5.1.0.html, then I had to add and remove each plugin and submit to test flight for checking if warning mail is generated or not

Sagarkhenat commented 4 years ago

@rajashekaranugu Did you check for any updates regarding the issue?

Sagarkhenat commented 4 years ago

@briantq @vash15 @c0bra Please, we request you to check on the issue when you get time, as the deadline is set to April 2020.We will have to either do firebase plugin change or update the pods of firebase plugin.Waiting for a positive reply from your side.

rajashekaranugu commented 4 years ago

@rajashekaranugu Did you check for any updates regarding the issue?

We did not get any response from firebase plugin team, we have migrated from firebase to FirenaseX plugin. this solved our warning email from apple.

Its better to migrate to FirebaseX plugin and it is very easy. not much changes required except importing native/fireaseX into your components.

FirebaseX was developed from firebase plugin with some advanced features and bug fixes

Sagarkhenat commented 4 years ago

@rajashekaranugu How did you integrate the firebaseX plugin? My project is in ionic3 so I am facing issues while using that plugin.

rajashekaranugu commented 4 years ago

we have migrated from ionic3 to ionic4, it took around 2-3 months for this major upgrade

rajashekaranugu commented 4 years ago

@rajashekaranugu How did you integrate the firebaseX plugin? My project is in ionic3 so I am facing issues while using that plugin.

FirebaseX will also work using ionic3 app, but its not that straight forward like on Ionic4.

Please use https://github.com/dpa99c/cordova-plugin-firebasex/issues to ask any questions. You can get more support when you use firebaseX and this is more actively being used plugin than firebase.

In my case I had the difficulty using Push plugin with FirebaseX, So we have Completely removed push plugin, and Push notifications can be implemented with firebaseX using FCM token. you need to upload .p8 to firebase console.

Sagarkhenat commented 4 years ago

@rajashekaranugu Thanks for your help. Will try and check for the cordova-plugin-firebasex plugin