Comments (16)
Hi,
Thanks for reverting back!!
Below is a demo repo created. In this new project, only FCM plugin is installed and on launch the app is crashing
https://github.com/meghanadixit1/FCMDemo
When for the first time, app is installed to the device via xcode, it works well, for the subsequent launches, it crashes everytime.
Since it is crashing on app launch, we are not able to test any functionality.
Attached are the XCode logs and the mobile device logs and my environement info
IonicInfo.docx
FcmDemoLog.docx
Please let me know if any other info is required.
.
from cordova-plugin-fcm-with-dependecy-updated.
The thread dying is concerning, yes, but did experience functionality issues?
Would you be able to share a repository of which the app presents this error?
I'll investigate as soon as possible.
But until then, if you can send your findings.
Thank you
from cordova-plugin-fcm-with-dependecy-updated.
I've found the thread firebase/firebase-ios-sdk#1399 that mentions that, this issue occurs due to keychain deadlocks.
I'll investigate possible solutions.
from cordova-plugin-fcm-with-dependecy-updated.
Hello There,
Any updates on this??
from cordova-plugin-fcm-with-dependecy-updated.
Hi, I've written a simple experiment, that just delay the Firebase initialisation by 10 seconds. Just to check if a solution like this could work in your case (master...andrehtissot:delayed-firebase-initialization-experiment).
So, from the root app directory, execute something like:
cd ..
git clone https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated.git
cd -
cd ../cordova-plugin-fcm-with-dependecy-updated
git checkout delayed-firebase-initialization-experiment
cd -
ionic cordova plugin remove cordova-plugin-fcm-with-dependecy-updated
ionic cordova plugin add ../cordova-plugin-fcm-with-dependecy-updated
And please let me know if the crashes still happen.
from cordova-plugin-fcm-with-dependecy-updated.
Will check and revert to you!
Thanks
from cordova-plugin-fcm-with-dependecy-updated.
from cordova-plugin-fcm-with-dependecy-updated.
This is an error due to Androidx migration.
I suggest you to try some of the solutions found in https://stackoverflow.com/questions/51918301/program-type-already-present-android-support-v4-app-inotificationsidechannelst.
If those don't work, let me know, then you might have to use a special version of the plugin, of which won't require androidx, by not importing androidx.core.app.NotificationCompat
.
from cordova-plugin-fcm-with-dependecy-updated.
But it's good to know that this solution avoids crashing on iOS.
In the near future, I intend on implement the feature requested in #31, which, in theory would also fix the issue you found.
from cordova-plugin-fcm-with-dependecy-updated.
HI
Tried the solution in below link-
https://stackoverflow.com/questions/51918301/program-type-already-present-android-support-v4-app-inotificationsidechannelst.
But still could not be successful.
ALso tried something as below
arnesson/cordova-plugin-firebase#1083 (comment)
But then also ran into an error
from cordova-plugin-fcm-with-dependecy-updated.
I'll try to minimize the reliance on AndroidX dependency to avoid these compatibility issues. I'll update here, when I get it working.
from cordova-plugin-fcm-with-dependecy-updated.
Also, just to let you know, a small delay was added to the main release version, so the first issue you mentioned (ios thread crashing), should not occur anymore.
from cordova-plugin-fcm-with-dependecy-updated.
Hi @meghanadixit1, I published a new version of cordova-plugin-fcm-with-dependecy-updated@beta, which, besides a lot refactoring on the ios side, has fewer androidx dependencies.
Would you give it a try, and let me know if it fixes the build on Android, and if for iOS it still works as expected?
from cordova-plugin-fcm-with-dependecy-updated.
The new release v5.0.0 has the changes I mentioned.
from cordova-plugin-fcm-with-dependecy-updated.
Issue closed due to inactivity.
from cordova-plugin-fcm-with-dependecy-updated.
Hey,
Sorry about the delayed response -
Here is the observation -
With the code in branch "delayed-firebase-initialization-experiment" the code builds and notifications are also received.
But when tested with below versions-
V5.0.0 beta
V5.0.0
V5.1.0
V6.0.0
V6.0.1
The code is built but notification is not received in iOS devices.
Can you please look into further.
from cordova-plugin-fcm-with-dependecy-updated.
Related Issues (20)
- Only receive notification when app is in the foreground (iOS) HOT 1
- Incorrect number of unread notifications in iOS
- Notification not getting received in Android 31 HOT 25
- andrehtissot:master don't have latest codebase and he is contributor in NPM. We want merging from marutifh:master to andrehtissot:master to support Android 12 upgradation
- In Android 13 the notification does not arrive HOT 5
- Notifications work on iOS 12 but don't work on iOS 16 HOT 1
- build is failing though android:exported=true is being added to plugin.xml HOT 5
- changing targetSdkVersion to 31 make notification not fired HOT 13
- can anyone give me example app for ionic3 working fcm? HOT 1
- cordova-plugin-fcm-with-dependecy-updated/ionic/ngx not woking ionic 5 complaition fail JIT
- Compilation error in Voltbuild HOT 4
- A problem occurred configuring project ':app'. > org.gradle.api.internal.tasks.DefaultTaskContainer$DuplicateTaskException: Cannot add task 'processDebugGoogleServices' as a task with that name already exists.
- Again notifications and SDK UPGRADE HOT 3
- Has anyone picked up the project yet? HOT 5
- after tapping on notification app not launch in android 13 version?
- Receiving messages from the topic after being unsubscribed
- Push Notification Not Working On iOS with cordova-plugin-fcm-with-dependency-updated . HOT 7
- Do we have support for higher SDK Versions? HOT 1
- got a email -> legacy Firebase Cloud Messaging (FCM) APIs will be discontinued.
- BSF Cordova Ecosystem Crowdfunding Plan
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-fcm-with-dependecy-updated.