Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 1.03 KB

NOTES.md

File metadata and controls

23 lines (16 loc) · 1.03 KB

2019-08-16| Migrating to cordova-andoid 8.0.0

error @minmap/icon error in background-geolocation plugins. Tried this,

This is from: github.com/oliviercherrier/mauron85-background-geolocation-example-ionic2

C:\mauron85-background-geolocation-example-ionic2\platforms\android\res\xml\auth
enticator.xml:5:19-31: AAPT: No resource found that matches the given name (at '
icon' with value '@mipmap/icon').

C:\mauron85-background-geolocation-example-ionic2\platforms\android\res\xml\auth
enticator.xml:6:24-36: AAPT: No resource found that matches the given name (at '
smallIcon' with value '@mipmap/icon').

Add a copy of file ./platforms/android/res/mimap-whatever/ic_launcher.png to ./platforms/android/res/mipap/icon.png andd run ionic run android again

This did not work, then tried mauron85/cordova-plugin-background-geolocation#553 especially mauron85/cordova-plugin-background-geolocation#553 (comment) . This worked.

Forked the repo and custom changes.