Created
September 2, 2018 20:41
-
-
Save deepanshu42/c503342c9e898426a72faea950e8b45e to your computer and use it in GitHub Desktop.
Request an on demand module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SplitInstallManager splitInstallManager = | |
SplitInstallManagerFactory.create(context); | |
SplitInstallRequest request = SplitInstallRequest.newBuilder() | |
.addModule("dynamic-module-1") | |
.addModule("dynamic-module-2") | |
.build(); | |
splitInstallManager.startInstall(request) | |
.addOnSuccessListener(sessionId -> { ... }) | |
.addOnFailureListener(exception -> { ... }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment