Skip to content

A Library for Android MDM clients to push applications to the device

Notifications You must be signed in to change notification settings

multunus/app-push-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

app-push-library

This library is a part of OneMDM project. A Library for Android MDM clients to push applications to the device. The library can be integrated with any mobile applications to accept app install messages through FCM.

Integrating the Library

Add the library in the dependencies section:

dependencies {
    ...
    compile 'com.multunus:apppusher:0.1'
}

In the application’s main activity onCreate method, start the onemdm-installer service as follows:

public void onCreate() {
    ...
    AppPusher.init();
}

Pushing App to the Devices

Here is the format of FCM message to push an app to the device:

{
    "type": "app_install",
    "name": "<App Name>",
    "url": "<APK URL>"
}

Once the message is delivered, the device will download the application and prompt the user to install it.

About

A Library for Android MDM clients to push applications to the device

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages