Closed nicolasdevienne closed 2 years ago
This issue appears only on simulator. On real device it's OK!
This issue will also occur when you open the app from App shortcut (Long press menu). Best to put a check on length instead of directly accessing it.
Platform
Description I suggest you to change function getIcon() for Android :
by
Because when we launch for the first time the app, getCurrentActivity().getComponentName().getClassName() returns "com.xxx.MainActivity" and split function return an array with only one value, this.componentClass.split("MainActivity")[1] does not exist !
Versions