-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Support configuration of com_braze_push_small_notification_icon (and possibly others) via this plugin #18
Comments
Hi @joeyuscca , We're tracking this internally and will update this issue once support is live. Thanks for filing, |
Hi @radixdev, any update on this? It looks like the fields have been added 🎉 (thanks), but the TypeScript types.ts file hasn't been updated to reflect. https://github.com/braze-inc/braze-expo-plugin/blob/main/plugin/src/types.ts The following appear to be missing:
|
Hey @joeyuscca, how's possible to add |
I'm also having problems with this. To elaborate on the question, the example in the
I'm trying to use expo Continuous Native Generation, so I can't just add these assets to |
What problem are you facing?
When setting up push notifications for android following the expo docs here there was no mention of custom small icons, as well as other custom configuration that is available through the standard docs via configuration in the
braze.xml
file.I was stuck with one of those sexy mono-color squares for a small icon until I stumbled across the standard integration docs and realized what was up.
To simplify the workflow and avoid needing to edit the braze.xml file directly, it'd be nice if some new config options were added to
ConfigProps
and theANDROID_CONFIG_MAP
so that way these items could be configured when calling,withBraze
.The workaround described allows me to do this by passing config including these to
withBraze
Workarounds
As an npm
postinstall
I currently run this script to modifyANDROID_CONFIG_MAP
andwithBrazeAndroid
implementation so that I can set notification icon and accent color with the config I pass towithBraze
.Ideal Solution
Something along the lines of this...
ANDROID_CONFIG_MAP
portion ofsrc/brazeAndroidConstants.ts
:ConfigProps
insrc/types.ts
:src/withBrazeAndroid
- or add new explicit cases fordrawable/color
if you prefer thatOther Information
It'd be worth considering other
braze.xml
configurable options to add to this type/map as well. Unless there are particular reasons to exclude certain options from being configured viawithBraze
might as well add them.The text was updated successfully, but these errors were encountered: