OneSignal-Gradle-Plugin icon indicating copy to clipboard operation
OneSignal-Gradle-Plugin copied to clipboard

Detect tools:node="replace" on the application tag in the main AndroidManifest.xml

Open jkasten2 opened this issue 7 years ago • 2 comments

Some app have the following in their main AndroidManifest.xml which causing OneSignal and Google Play services not to work or crash the app do to missing meta-data tags, services, actives, etc.

<application tools:node="replace">

This plugin should try to detect this and throw a build error to fail fast, instead of it becoming a hard to debug runtime error.

jkasten2 avatar Mar 28 '18 23:03 jkasten2

I get the same error

birdeveloper avatar Aug 18 '19 14:08 birdeveloper

@gorkemkara16 This isn't an error to fix, instead this is a feature request to add an error/warning if <application tools:node="replace"> is detected since having it creates issues with most libraries.

I recommend opening a new issue with the problem you are having with this plugin if you are running into an issue.

jkasten2 avatar Aug 20 '19 04:08 jkasten2