Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Shizuku #1396

Open
xmha97 opened this issue Sep 7, 2020 · 1 comment
Open

Support Shizuku #1396

xmha97 opened this issue Sep 7, 2020 · 1 comment

Comments

@xmha97
Copy link

xmha97 commented Sep 7, 2020

Hello,
Please support Shizuku to install Android APK without prompt.
https://play.google.com/store/apps/details?id=moe.shizuku.privileged.api
Like SAI app:
https://play.google.com/store/apps/details?id=com.aefyr.sai
SAI

@Righteouxxx
Copy link

​package​ ​com.appcoins.wallet.appcoins.rewards

​import​ ​java.math.BigDecimal

​data class​ ​Transaction​(​val​ ​sku​:​ ​String?​,
​                       ​val​ ​type​:​ ​String​,
​                       ​val​ ​developerAddress​:​ ​String​,
​                       ​val​ ​entityOemId​:​ ​String?​,
​                       ​val​ ​entityDomain​:​ ​String?​,
​                       ​val​ ​packageName​:​ ​String​,
​                       ​val​ ​amount​:​ ​BigDecimal​,
​                       ​val​ ​origin​:​ ​String?​,
​                       ​val​ ​status​:​ ​Status​,
​                       ​var​ ​txId​:​ ​String?​,
​                       ​var​ ​purchaseUid​:​ ​String?​,
​                       ​val​ ​payload​:​ ​String?​,
​                       ​val​ ​callback​:​ ​String?​,
​                       ​val​ ​orderReference​:​ ​String?​,
​                       ​val​ ​referrerUrl​:​ ​String?​,
​                       ​val​ ​productToken​:​ ​String?​,
​                       ​val​ ​errorCode​:​ ​Int?​ = null,
​                       ​val​ ​errorMessage​:​ ​String?​ = null) {
​  ​constructor​(transaction​:​ ​Transaction​, status​:​ ​Status​, errorCode​:​ ​Int?​ ​=​ ​null​,
​              errorMessage​:​ ​String?​ ​=​ ​null​) ​:​ ​this​(transaction.sku, transaction.type,
​      transaction.developerAddress, transaction.entityOemId, transaction.entityDomain,
​      transaction.packageName, transaction.amount, transaction.origin, status, transaction.txId,
​      transaction.purchaseUid, transaction.payload, transaction.callback,
​      transaction.orderReference, transaction.referrerUrl, transaction.productToken, errorCode, errorMessage)

​  ​fun​ ​isBds​(): ​Boolean​ ​=​ ​this​.origin ​==​ ​"​BDS​"​ ​||​ ​this​.origin ​==​ ​"​UNITY​"

​  ​enum​ ​class​ ​Status​ {
​    ​PENDING​, ​PROCESSING​, ​COMPLETED​, ​ERROR​, ​FORBIDDEN​, ​SUB_ALREADY_OWNED​, ​NO_NETWORK
​  }
​}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants