-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error when build app using Cordova #155
Comments
Hi, Or you could use 8e870f7 - check comments there. |
Hi, i am getting this error when build D:\Mobile\badge>cordova build android npm ERR! A complete log of this run can be found in: Regards |
Could you please explain , how to add this plugin in mobile project ? Regards |
@aravindforums1 Check your package.json or package-lock.json file. Maybe inside of them there is mentioned cordova-plugin-badge 0.8.10 version. |
Hi, i am try to add badge count for android app using cordova-plugin-badge, for that i used ShortcutBadger too.
i install cordova-plugin-badge ver 0.8.8 , after i add below code in build.gradle and try to build
First i get error for Could not find method compile() for arguments , then i replace compile to implementation still getting error.
Below is the error when build
A problem occurred evaluating root project 'badge'.
Note: Before add ShortcutBadger , i can build and install apk file in android phone, that time i added below code in index.js
When i run app in mobile device , i always get 'cordova-plugin-badge is NOT active' , not sure how to activate ?
I want to show badge count number instead of dot in app icon, currently i get dot in app icon, in mobile setting there is no option to change notification as Number.
In whatsapp and sms i can see three options like "Number" , "Dot" and No Badge.
Anything need to add in my project config or gradle ?
Thanks and Regards
Aravind
The text was updated successfully, but these errors were encountered: