Saurabh Lahoti

Results 6 comments of Saurabh Lahoti

@dineralex One signal's documentation specifically says to keep the plugin above the `apply plugin: 'com.android.application` https://documentation.onesignal.com/docs/troubleshooting-android#warning-the-onesignal-gradle-plugin-must-be-before-comandroidapplication And flutter gradle has to be kept after this `apply plugin: 'com.android.application` So if...

Getting ```Caused by: org.gradle.api.InvalidUserCodeException: Cannot run Project.afterEvaluate(Closure) when the project is already evaluated.``` When adding this in app/build.gradle ``` apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'//important to be placed at top before android application...

Worked for me on removing the plugin from app/build.gradle. Just having the classpath in project/build.gradle and the library dependency app/build.gradle.

@fmdogan in the project level `build.gradle` add this ``` buildscript { ext.kotlin_version = '1.5.31' repositories { google() mavenCentral() gradlePluginPortal() } dependencies { classpath 'com.android.tools.build:gradle:7.1.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.12.10, 0.99.99]' classpath...

Any update on this? @tjohns @domesticmouse @tiembo @nowsprinting

https://github.com/googleapis/google-auth-library-java/issues/683 This is what is actually happening in this issue