Closed posdevelopers closed 4 years ago
oh God, i am using sudo command to install fcm plugin , i removed it and now project is build successfully .
Yeah, it's not recommended. Some dependencies, like cocoapods, even refuse to run with that level of access.
Please let me know if you face another issue.
Thank you for wonderful support , let me know if i can use fcm plugin on ionic 3 like this
import { FCM } from '@ionic-native/fcm';
WARN: Ionic Native: tried calling FCM.getToken, but the FCM plugin is not installed. 2020-07-02 14:34:15.812495+0500 Kitabcha[1709:1335874] WARN: Install the FCM plugin: 'ionic cordova plugin add cordova-plugin-fcm-with-dependecy-updated'
When i try on real device then it is giving me above error
Thank you for wonderful support , let me know if i can use fcm plugin on ionic 3 like this
import { FCM } from '@ionic-native/fcm';
No. @ionic-native/fcm is outdated.
Please import like:
import { FCM } from 'cordova-plugin-fcm-with-dependecy-updated/ionic/v4';
Let me try this thank you
Hi i am trying this and having same error again
@posdevelopers would you be more specific about which error you got again?
Hi i am able to build and notification is received but when i am trying to upload it to app store then uiwebview email received from the apple
previously without fcm it is uploaded to app store but after installing this plugin fcm with 7.0.5 version it is generating uiwebview error ,please help on this
my cordova plugin list is : com.telerik.plugins.nativepagetransitions 0.6.5 "Native Page Transitions" cordova-plugin-android-permissions 1.0.2 "Permissions" cordova-plugin-badge 0.8.8 "Badge" cordova-plugin-device 2.0.3 "Device" cordova-plugin-fcm-with-dependecy-updated 7.0.5 "Cordova FCM Push Plugin" cordova-plugin-fullscreen 1.1.0 "cordova-plugin-fullscreen" cordova-plugin-geolocation 4.0.2 "Geolocation" cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview" cordova-plugin-nativeaudio 3.0.9 "Cordova Native Audio" cordova-plugin-nativestorage 2.3.2 "NativeStorage" cordova-plugin-network-information 2.0.2 "Network Information" cordova-plugin-splashscreen 5.0.4 "Splashscreen" cordova-plugin-statusbar 2.4.3 "StatusBar" cordova-plugin-vibration 3.1.1 "Vibration" cordova-plugin-whitelist 1.3.4 "Whitelist" cordova-sms-plugin 1.0.0 "Cordova SMS Plugin" cordova-sqlite-storage 2.6.0 "Cordova sqlite storage plugin" cordova.plugins.diagnostic 4.0.12 "Diagnostic" mx.ferreyra.callnumber 0.0.2 "Cordova Call Number Plugin"
already added WKWebViewOnly in config file and other things
I have also received push notification everything is working fine but not be able to upload on app store and it is generating the error of uiwebview
Hi i have resolved there is uiwebview in native transition plugin i removed it and now app is able to upload on app store and does not generate the warning of uiwebview depcreated https://github.com/Telerik-Verified-Plugins/NativePageTransitions Thank you
Open platfroms/ios/podfile
# DO NOT MODIFY -- auto-generated by Apache Cordova
source 'https://github.com/CocoaPods/Specs.git'
source 'https://cdn.cocoapods.org/'
platform :ios, '11.0'
use_frameworks!
target 'Sampleapp' do
project 'Sampleapp.xcodeproj'
pod 'Firebase'
pod 'Firebase/Analytics'
pod 'Firebase/Messaging'
end
then pod update
hope it helps
Hi , it's 24 hours and i am stuck on the below issue with this plugin on ios , can anyone help me please please . i am using ionic 3 working fine on android , but on ios it is not building and give the below error , tried every thing , xcode 11.
fatal error: module 'Firebase' not found @import Firebase;