Posts

Showing posts from August, 2020

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...

Adding SHA certificates on firebase

 keytool -exportcert -list -v -alias thin-kyar -keystore ThinKyar.keystore Valid from: Sun May 31 18:13:35 MMT 2020 until: Mon May 19 18:13:35 MMT 2070 Certificate fingerprints:          MD5:  F5:81:19:B1:03:FA:84:28:7C:8C:FA:44:D1:21:B4:03          SHA1: 8D:5D:28:4E:CE:E2:26:E9:10:CB:E0:3D:79:E7:A0:BF:91:BB:4C:45          SHA256: C8:2E:23:59:50:0C:E1:9A:F2:A4:21:7D:82:61:95:B3:0B:90:7A:10:97:95:3B:94:E4:86:EE:04:D8:CB:A4:71 Signature algorithm name: SHA1withRSA Subject Public Key Algorithm: 2048-bit RSA key Version: 3 //Getting debug certificate keytool -list -v -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore Default password for debug keystore - android Owner: C=US, O=Android, CN=Android Debug Issuer: C=US, O=Android, CN=Android Debug Serial number: 1 Valid from: Fri May 08 14:41:06 MMT 2020 until: Sun May 01 14:41:06 MMT 2050 Certificate fingerprints:       ...