-
Notifications
You must be signed in to change notification settings - Fork 742
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
Setting Theme from Remote Push Notification #26
Comments
This is more a stackoverflow type of question IMHO. |
How is this more of a StackOverflow question? This involves your plugin specifically. Man, whomever is replying to questions about this plugin is rude. |
Your question can be boiled down to a general question "how do I convert a string into an enum in Swift?" Questions like this are typically asked on StackOverflow and the person who suggested as much (who isn't affiliated with SwiftMessages at all) was as polite as one could expect. Also, in your other post, I gave you my SO handle so that I could help you directly on that forum. Whether or not you agree with posting to SO, it seems like a small ask in return for someone else's time and expertise. |
I need to set the theme of the message using a string being sent through a remote push notification. Unfortunately, when I am trying to set it I get this error:
Could not cast value of type 'NSTaggedPointerString' (0x102990630) to 'SwiftMessages.Theme'
Any ideas how I can get this to work? Here is my code:
The text was updated successfully, but these errors were encountered: