falls with Null Pointer Exception
Opened this issue · 6 comments
Deleted user commented
Dear Ionic team.
There is a problem with ionic-plugin-keyboard. I am very glad if you can fix
it.
There are cases where you come to onDestroy before plugin initialization
processing is completed, such as when you quit with the Android return
button immediately after it starts up, and it falls with Null Pointer
Exception.
I think that it can be countermeasured by the following change.
-
IonicKeyboard.java, line 26:
private View rootView = null; -
IonicKeyboard.java, line 131:
if( rootView != null ){
...
}
Thank you.
danilopartalj commented
+1
carlosirigoyen17 commented
+1
mcendon commented
+1
piwnik commented
+1
crich1979 commented
+1
zty5678 commented
+1