<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
in AndroidManifest.xml<provider android:name="com.pushlink.android.FileProvider" android:authorities="your.package.name" android:exported="true" />
in AndroidManifest.xml<receiver android:name="com.pushlink.android.NinjaReceiver" />
in AndroidManifest.xmlNinja.setExtraShellCommand()
deprecated in favor of Pushlink.setBeforeNinjaTaskShellCommand()
Pushlink.hasPendingUpdate()
does not ignore the idle status anymore (Pushlink.idle method)export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/system/lib
command anymoreNinja.setExtraShellCommand()
for custom workaroundsPushlink.setMaxExceptionQueueSize()
(to avoid huge cache)Pushlink.addMetadata()
and Pushlink.addExceptionMetadata()
when key == null. Not allowed anymore.Pushlink.setCurrentActivity()
and Pushlink.setCurrentStrategy()
are independent of the start method.PushLink.addExceptionMetadata()
. This metadata is going to appear ONLY in the "Exceptions" tab of the web administrationPushLink.setCurrentPopUpTarget()
is now PushLink.setCurrentActivity()
.PushLink.setCurrentStrategy()
before PushLink.start()
had no effect.PushLink.start()
has a brand new fourth parameter. The device ID.PushLink.sendAsyncNotification()
to PushLink.sendAsyncException()
.PushLink.sendSyncException()
was removed.PushLink.hasPengingUpdate()
. This method checks if there is a downloaded but not applied update. It also notifies the user again.PushLink.sendExceptionNotification()
has changed to PushLink.sendAsyncException()
and PushLink.sendSyncException()
Pushlink.setCurrentPopUpTarget()
called before PushLink.start()
PushLink.addGlobalInfo()
has changed to PushLink.addMetadata()
PushLink.idle(boolean)
added. Especially useful for NINJA strategy to update your app only when it is idle. See the usage in JAVADOC.PushLink.checkForUpdates()
in no longer available. There is no sense in using the new push architecture.PushLink.start()
method has changed. Now it has only three parametersPushLink.disableExceptionNotification()
and PushLink.enableExceptionNotification
Push.addUserInfoForExceptionNotification()
is now Push.addGlobalInfo
. This information is going to appear in all exception notifications sent.Push.sendExceptionNotification(Throable)
was overloaded with Push.sendExceptionNotification(Throwable, Map)
. Now it's possible to send more information about the exception context in Map.Push.requestUpdateRightNow
is now Push.checkForUpdates
Push.checkForUpdates()
does not block the thread anymore.Push.checkForUpdates
bug fix. It was rushing the download but not the notification.PushLink.sendExceptionNotification()
it will not throw an exception anymore. It only will log: "You must start pushlink enabling exception notification before using PushLink.sendExceptionNotification or PushLink.addUserInfoForExceptionNotification. Check PushLink.start method exceptionNotification parameter."Pushlink.stop()
anymore.Pushlink.requestUpdateRightNow()
to rush version check.PushLink.setCurrentPopUpTarget()