Brief steps to integrate onesignal to flutter apps
Step 01 - Add onesignal package to pubspec.yaml onesignal_flutter: ^2.6.1 Step 02 - Add the following code to the Line 01 of app > build.gradle file //Need to put this in the headline for onesignal plugin buildscript { repositories { // ... maven { url 'https://plugins.gradle.org/m2/' } // Gradle Plugin Portal } dependencies { // ... // OneSignal-Gradle-Plugin classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.12.6, 0.99.99]' } } apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin' Step 03 - Add the following lines to after the activity tag of app > src > main > AndroidManifest.xml file <intent-filter android:label="@string/app_name" android:autoVerify="true"> <action android:na...