question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ionic app doesn't build

See original GitHub issue

After installing the plugin in the app, then building it and running it in a mobile device it the app crashes and show’s (app has stopped).

Your Environment

  • Plugin version: 0.8.4
  • Platform: Android
  • OS version: 7.0
  • Device manufacturer / model: J7 max
  • Cordova version (cordova -v): 7.1.0
  • Cordova platform version (cordova platform ls):
  • Plugin config
  • Ionic Version (if using Ionic) 3.19.0

Expected Behavior

The app should have built properly, showing the homepage

Actual Behavior

The app crashes.

Context

I trying to create a todo list application were i am using fcm for sharing list with other user’s and set a location alert which will notify to the user locally.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
gamboawebcommented, Dec 30, 2017

Oh I forgot to say that if you hadn’t device plugin you should install it first too… So the correct sequence would be: ionic cordova plugin add cordova-plugin-device npm install --save @ionic-native/device ionic cordova plugin add cordova-plugin-app-event ionic cordova plugin add de.appplant.cordova.plugin.local-notification@0.8.5 npm install --save @ionic-native/local-notifications

1reaction
Youtchcommented, Jan 2, 2018

Bravo ! Now I don’t get any error to build after I removed katzer/cordova-plugin-local-notification and I installed de.appplant.cordova. plugin.local-notification 0.8.5. This installed the dependances plugins given above.

Le 31 déc. 2017 10:37, “supermaker” notifications@github.com a écrit :

Thanks. code is worked after I added cordova-plugin-device plugin

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/katzer/cordova-plugin-local-notifications/issues/1477#issuecomment-354594290, or mute the thread https://github.com/notifications/unsubscribe-auth/AIfMuITmdHM_4qvw7PNbTaRyApD2hSgvks5tF1XIgaJpZM4RKJi2 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build Errors: Learn to Solve Common Mistakes
Solve common mistakes that can occur when building apps. View our list of potential build errors then check out our Ionic Documentation for...
Read more >
Ionic doesn't work build - errors that don't exist anymore
I am trying to build my Ionic app, but the terminal displays this: ionic build Running app-scripts build: [12:46:01] build dev started ....
Read more >
build --release doesn't change environment.production #18173
Bug Report. Ionic version: [x] 4.x. Current behavior: building release or development builds does not change exported environment object.
Read more >
Why does my previously successful build from (some time ago ...
A common request about Ionic Appflow builds involves failures related to a build that was previously successful. For example: Why doesn't...
Read more >
What Is Ionic And How Does It Work? - Appstronauts
Ionic is a framework based on Apache Cordova and Angular. It enables us to build fully functional and advanced mobile apps using web ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found