Andorid 5 take 96px icon as default for status bar and until it is not white + aplha changel it wont display it. But 96px icon is also used for main application icon. How can I set this status bar icon to custom one?
Distriqt push notification icon at status bar remain white at Android 5
139 Views Asked by Tomas Desat At
1
There are 1 best solutions below
Related Questions in PUSH-NOTIFICATION
- Custom Sound for Expo Push Notifications Only Works in Foreground
- Actionable notification api call not working in background
- After adding the packages of "Xamarin.Firebase.Messaging", getting error related to JAVA0000 "Compilation failed"
- How can I schedule OneSignal notifications programmatically from a Flutter app
- Firebase push doesnt receive after init in other process
- Background notification also get muted on removing "sound" from presentationOptions in @capacitor-firebase/messaging?
- Push notifications in flutter webview app
- (iOS) Can we have multiple APNs files for the same app?
- How does iOS notifications handle cases without content-available key
- Push notification can't be activated in certain phone models and OS
- How to modified remote notification body content in ios using react native
- Push notification sent from Laravel is received by Android device, but isn't received by iOS device
- i want to get the FCM token
- How to update my service worker for existing web push subscribers?
- Android FCM push notification not launching the application on click
Related Questions in ICONS
- Problem with QPushButton icons appearing PySide6
- How to center fontawesome icons in a div?
- SvgPicture asset does not work and shows "Try connecting the name to one that is defined, or defining the name" error
- How do I set the color of the icon for my Moodle plugin of Activity type (mod) to match the color used by the theme?
- Icon of Window form application
- CSS icons under Chrome are weirdly displayed
- How to change the color of an icon when hovered over
- Chrome PDF print image aspect ratio incorrect - very apparent with small images - is there a workaround?
- Different icons based on condition in csproj file
- Why are my Flutter (dart) icons turn into weird icons?
- Laravel + React, Inertia SSR using icons with a translation file
- Error while using react native vector icons
- Close button doesn't work and can't find the line to move it down a bit
- Display warning icon in MessageBox
- How to use the comments icon for shopware 6
Related Questions in ANDROID-5.0-LOLLIPOP
- Crash APK Cardlan QR Reader
- Firebase Cloud Messaging (FCM) not working on Android API 21 devices
- Block the screen from turning on your Android phone
- Is it possible to clear the android application cache at API 21
- Splash Screen API not showing icon on Android lollipop 5.0 and 5.1
- Android 5 seems to be ignoring the gravity on a drawable xml
- Android - How to run *older* API images on M1 Mac
- PBKDF2 With Sha256 on Android 5
- WebView.loadUrl raising UnsupportedOperationException
- Unexpected token error in Android 5 but not in Android 8
- Push Notification content text not showing on Lollipop
- Parse date from string on Android Lollipop
- Android api 21/22 android version 5 video playing problems, video playing throws error Can't play video
- Can't create handler inside thread that has not called Looper.prepare()- Spinner in Android-5
- Xamarin.Forms: WebView support on Android 5.1
Related Questions in ANE
- ArgumentError: Error #3500: The extension context does not have a method with the name as_passAString
- ANE-NativeWebView - How do I set up the encoding?
- Why is Android Studio / Eclipse necessary to build an ANE?
- Can someone explain AIR Native Extensions FREGetContextActionScriptData() and FRESetContextActionScriptData() in more detail?
- AIR Native Extension issue
- Repackage APK with Adobe AIR
- My app with ANE crashes after iOS 14.1 upgrade
- Java error from distriqt Adverts extension
- Distriqt GameServices ANE - Apple Game Center Problem
- Adobe AIR + Android Fileprovider FILE_PROVIDER_PATHS for File.applicationStorageDirectory
- Case Sensitive Directory Path in Windows
- Static notification in Android application [AS3]
- Call Recorder ANE (AirNativeExtension)
- Cannot see advertisement with admob ane
- How to share the image in the application as3
Related Questions in DISTRIQT
- GDPR UMP Implementation Using AS3 Script
- ld: unknown options: -sdk_version
- "aapt tool failed" , "values.xml:3: error: Found tag id where item is expected"
- Question> Does changing "android.support.multidex.MultiDexApplication" to "androidx.multidex.MultiDexApplication" causes problem to plugins?
- What happens to products created under distriqt vibration license after the license expires?
- Distriqt Share Native Extension not working with Bitmapdata on Android
- Java error from distriqt Adverts extension
- Distriqt GameServices ANE - Apple Game Center Problem
- Share ANE don't verify the key
- Beacon development in adobe air
- Intelij idea error compiling Adobe Air for Android - dx tool failed
- Using Air ANE com.distriqt.Share on Android I get the message "No App can perform this action"
- Data format for sending/receiving UART rx characteristic in distriqt Bluetooth LE ANE
- Adobe Flash Professional CS5.5(AS3) with Distriqt Compass always says "The native extension context could not created"
- AS3 Air Native Extension com.distriq.Core conflits with other ANEs
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
With Android 5+ you need to provide dedicated notification icons which are white/grey and transparent to fit in with the Android design guidelines. Currently there is no way to include these icons through the AIR application descriptor. Instead you have to add them as custom Android resources.
To do this you'll need to create an icon that is only white with transparency something like the below:
Then goto the Android Asset Studio Notification Icon Generator
https://romannurik.github.io/AndroidAssetStudio/icons-notification.html
and upload your source image. Make sure you change the name of the icon. Take note of this name as you will be using this name to reference this icon in notifications. In the example below we used
your_icon_name.You can then download the zip and extract the contents and you should have a series of directories containing all the different sized icons required.
Next, download our CustomResources ANE generator script from the following repository:
https://github.com/distriqt/ANE-CustomResources
Follow the instructions to setup the script and then copy the contents of the zip you downloaded earlier into the
resdirectory in the script root.After running the script you should have an ANE
com.distriqt.CustomResources.anethat you can include in your project.Now you can use the name of your icon to create notifications: