The native interface instance can be null and you should check for that use
case. A typical correct way to use a native interface if:
if(test != null && test.isSupported()) {
test.myMethod();
}
The reason you would get a failure here is because of the iOS screenshot
process explained here: https://www.codenameone.com/manual/appendix-ios.html
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/bc5c8772-d382-4aee-a5f3-c01af941d44b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.