Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Notification plugin crash

$
0
0

@florent-movework wrote:

Hello,

I’m trying to make a new app using capacitor, and i get a crash when trying to use notification plugins.

I followed the guideline here.

Running PushNotifications.register() makes app crash, and i get this error message in Android studio console:

Default FirebaseApp is not initialized in this process my.pack.name . Make sure to call FirebaseApp.initializeApp(Context) first.

Here is my config:

Ionic:

Ionic CLI : 6.6.0 (/home/florent/.nvm/versions/node/v12.14.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.0.7
@angular-devkit/build-angular : 0.803.26
@angular-devkit/schematics : 8.3.26
@angular/cli : 8.3.26
@ionic/angular-toolkit : 2.2.0

Capacitor:

Capacitor CLI : 2.0.2
@capacitor/core : 2.0.2

Utility:

cordova-res (update available: 0.13.1) : 0.12.1
native-run : 1.0.0

System:

NodeJS : v12.14.0 (/home/florent/.nvm/versions/node/v12.14.0/bin/node)
npm : 6.13.4
OS : Linux 4.15

I would appreciate a lot any help on understanding what’s happening here !

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>