-
Notifications
You must be signed in to change notification settings - Fork 17
Support root project build.gradle OR Provide a detailed error of the issue #48
Comments
@jkasten2 i am getting the following error even though /build.gradle in root does not have anything related to onesignal. But app/build.gradle has it.
|
@kodeine I recommend making sure you have the latest Cordova version 8.0.0 and the project is also using Cordova android@7.0.0 or newer. Please open a new issue on OneSignal-Cordova-SDK/issues if you are still seeing an issue. |
hi @jkasten2 is there any update about this? because i got the same issues here :) |
@rendy14s Can you add |
@jkasten2 can not, i have some error like you. |
@rendy14s I am not sure I understand. What blocks you from being able to modify your Can you provide more detail on your project such as if is using something like Flutter, React Native, or a completely native Android project? |
Issue
Currently if this plugin is applied to the root
build.gradle
instead ofapp/build.gradle
the following error is shown.Solutions
Solutions below are in order of the best outcome
1. Solution - Apply plugin to all projects
If possible this plugin should apply itself to all Android projects
2. Solution - Provide a detailed error
We should provide a detailed message to move the plugin to their
app/build.gradle
. We should still cause the build to fail so the app developer knows that the plugin is not working.The text was updated successfully, but these errors were encountered: