Closed jenqtat closed 7 years ago
The BATTERY_SERVICE field was added to Android's Context in API 21 (Lollipop) so my guess is that you're running on an older version of Android. If so, you'll just have to try a different sample. If not, let me know!
Hi, I added the Ace plugin to my Ionic 1 android project by using vs2015 plugin method and try to test Ace by following the sample of showing the battery level. However it hit the native error.
My code and error as below :-
controller :-
Error msg :-
Appreciate if you can advice and guide me on the issue above. Thanks