Ionic app doesn't build
See original GitHub issueAfter 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:
- Created 6 years ago
- Comments:9 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
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 :