v1.1.0
New features
- Added get split delivery data and downloads split apks.
Get Split Delivery Data Info
gpAPI.getGoogleToken('Your OAuth2 Token', 'save/token.txt').then(async (token) => {
await gpAPI.googleAuth(token)
const splitDeliveryDataInfo = await gpAPI.splitDeliveryDataInfo('com.supercell.clashofclans')
console.log(splitDeliveryDataInfo)
})
Get Download Split Apks Name And Url
gpAPI.getGoogleToken('Your OAuth2 Token', 'save/token.txt').then(async (token) => {
await gpAPI.googleAuth(token)
const downloadSplitApksNameAndUrl = await gpAPI.downloadSplitApksNameAndUrl('com.supercell.clashofclans')
console.log(downloadSplitApksNameAndUrl)
})
Download Split Apks
gpAPI.getGoogleToken('Your OAuth2 Token', 'save/token.txt').then(async (token) => {
await gpAPI.googleAuth(token)
await gpAPI.downloadSplitApks('com.supercell.clashofclans', 'save_folder')
})
PS:
- You can use Split APKs Installer (SAI) this app to install split apks.
- Don’t forget to use
gpAPI.downloadApk()
to download the main apk, then install together.