Closed euc-callum closed 1 year ago
@euc-callum Thank you for reaching out and for the good observation. I apologize for the confusion here; We are working on a release to fix this issue, and we will clarify our docs about this and other things.
A release has been pushed that fixes this issue
I've had a little difficulty in utilising this plugin due to being unsure what values are accepted for
ios.pushNotification.env.region
in the plugin configuration.The documentation does not provide an example, and the types supplied by
customerio-reactnative
imply that the values should be capitalised:However utilising
'US'
would result in an error:After taking a look through the source code I discovered it instead appear to do a lowercase comparison here.
If this is the case, would it be possible to either add this information to the documentation or update the string comparison to not depend on the value being lowercase? I think it'd be likely to make the setup process more seamless for others.