datso / react-native-pjsip

A PJSIP module for React Native.
http://datso.github.io/react-native-pjsip
GNU General Public License v3.0
273 stars 233 forks source link

replace START_STICKY with START_REDELIVER_INTENT #29

Closed nikhildaga closed 6 years ago

nikhildaga commented 7 years ago

Android app crashed every time after closing. Fixed the issue by replacing START_STICKY with START_REDELIVER_INTENT

reference: https://stackoverflow.com/questions/32731782/get-nullpointerexception-after-closing-application-android

datso commented 6 years ago

Thanks for the PR, I've made changes to use START_NOT_STICKY. Please upgrade from latest master.