Reply To: Crash when executing startForeGroundDispatch

Forum MIFARE SDK Crash when executing startForeGroundDispatch Reply To: Crash when executing startForeGroundDispatch

Re: Crash when executing startForeGroundDispatch

9. June 2017 at 9:40
Hi Diego,

Sorry, my mistake. enableForegroundDispatch() (which is used from TapLinx startForeGroundDispatch()) should be used in onResume(). The IllegalStateException is thrown if the app life cycle is already in the foreground.

The first question for me is: does a method in your app call onResume() directly? Usually this methods called by Android. Can you identify the current life cycle state in the logs?

The TapLinx team

+ 0  |  - 0