You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there are some methods that are only available on iOS. This might change, but there are certain things only one or the other platform can do. So, we should provide elegant error handling to both platforms that fail gracefully if a function called in the developers application JS does not exist in the other platform.
This means adding the method to both platforms so when it gets called, it does not fail. Then, inside that method, if the platform doesn't support it, do something that helps out the developer. Return a warning, or some sort of predictable return like false, null or undefined.
The text was updated successfully, but these errors were encountered:
Currently there are some methods that are only available on iOS. This might change, but there are certain things only one or the other platform can do. So, we should provide elegant error handling to both platforms that fail gracefully if a function called in the developers application JS does not exist in the other platform.
This means adding the method to both platforms so when it gets called, it does not fail. Then, inside that method, if the platform doesn't support it, do something that helps out the developer. Return a warning, or some sort of predictable return like false, null or undefined.
The text was updated successfully, but these errors were encountered: