I just ran into an issue this morning: When using Ionic deploy, the app reloads, shows my new changes and everything still works as expected. However, the hardware back button (android) doesn’t seem to do anything.
adb logcat registers the event but the app doesn’t seem to listen to it.
D/InputReader( 486): Input event: value=1
I/InputDispatcher( 486): Delivering key to current input target: action: 0x0
I/InputDispatcher( 486): Delivering key to current input target: action: 0x0
I/InputDispatcher( 486): Delivering key to current input target: action: 0x0
D/InputReader( 486): Input event: value=0
I/InputDispatcher( 486): Delivering key to current input target: action: 0x1
I/InputDispatcher( 486): Delivering key to current input target: action: 0x1
I/InputDispatcher( 486): Delivering key to current input target: action: 0x1
PS: I tried $ionicPlatform.registerBackButtonAction: same issue.
Did you do any further debugging into it? I don’t even know where to start… probably some event isn’t getting reconnected to the code handling it or something
For now I “solved” it by not triggering an update with Ionic Deploy, but downloading the whole APK and installing it - including the new /www folder of course. So no more Ionic Deploy update necessary on Android… Of course this is much more risky than using Ionic Deploy.