benbahrenburg / benCoding.Android.Tools

A collection of utilities designed to make working with Titanium on Android alittle easier.
Other
59 stars 36 forks source link

fix breaking changes introduced by Ti SDK 8.0.x #26

Open sharpred opened 5 years ago

sharpred commented 5 years ago

A couple of issues

TiApplication.getInstance().beforeForcedRestart() is deprecated in Ti SDK 8.0.x so platformTools.restartApp() is broken, have replaced most of restartApp with a new method in v8 called TiApplication.getInstance().softRestart()

compilation now fails due to missing android.support.v7.app.NotificationCompat in BootReceiver.java so replaced it with android.support.v4.app.NotificationCompat