Skip to content

Instantly share code, notes, and snippets.

View harunme3's full-sized avatar
🎯
App Development

RAHUL KUMAR GUPTA harunme3

🎯
App Development
  • Study Kiya
  • Lucknow UP
View GitHub Profile
@harunme3
harunme3 / gist:c1766d193558c8d66fb7b707076ef410
Last active October 14, 2022 05:47
push code on github in existing project
git init
git add .
git commit -m "first commit"
git remote set-url origin https://github.com/harunme3/flutter_app_settings.git
git push -u origin master
@harunme3
harunme3 / gist:6fd8bb816e295e598bf1b2c61ffd8ce4
Last active July 13, 2023 11:34
SPLIT_BUNDLE 16: Policy Declaration - Data Safety Section: Device Or Other IDs Data Type - Device Or Other IDs (some common examples may include Advertising ID, Android ID, IMEI, BSSID, MAC address)

1-Open Google Play Console

2-App content

3-Data safety => Manage

4-Overview click next

5-Answer the questions (then next):

@harunme3
harunme3 / onesignal.dart
Last active April 28, 2023 07:18
How to integrate push notification using one signal in flutter
## step 1 - add intent in AndroidManifest.xml file
<intent-filter>
<action android:name="FLUTTER_NOTIFICATION_CLICK" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
## step 2 - add this in main.dart file in main function
WidgetsFlutterBinding.ensureInitialized();