flurry / react-native-flurry-sdk

React Native Flurry SDK
Apache License 2.0
45 stars 13 forks source link

Exposing notification icon settings #7

Closed cboar closed 5 years ago

cboar commented 5 years ago

Hi, I'm facing an issue with the push notification icon being a white square on Android. It seems the FlurryMarketingOptions aren't configurable from the FlurryModule.Builder. It seems this setting was the only solution to fix the square icon. Would it be possible to expose this in some form? Thanks in advance!

poting-oath commented 5 years ago

Thanks for the feedback! For the next release, FlurryModule.Builder will accept user's messaging options or listener as,

- .withMessaging(true)
- .withMessaging(true, myFlurryMarketingOptions)
- .withMessaging(true, myFlurryMessagingListener)

When users provide their own options or listener, the JavaScript listener will be disabled.

poting-oath commented 5 years ago

@cboar We just released a new version 3.2.0 with the feature that allows optional user's native FlurryMarketingOptions or FlurryMessagingListener. Thanks a lot for your great feedback!