No Image

Xamarin – Local notification for iOS (1)

February 25, 2021 hung-nb 0

How to create a local notification? Add permission check App.xaml.cs iOSNotificationManager.cs Send notification Use UNTimeIntervalNotificationTrigger to create a local notification immediately Use UNCalendarNotificationTrigger to create […]

No Image

Android – Update from targetSDK 28 to 29

February 19, 2021 hung-nb 0

Can’t create file Need to add android:requestLegacyExternalStorage=”true” https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage Can’t get hardware serial number App crashes when calling Build.getSerial() best-practices-android-identifiers https://developer.android.com/reference/android/os/Build#getSerial()changes-to-device-identifiers-in.html Use ANDROID_ID for Android 10, […]