From c6f8cc6bb3fdbc1f103c2e9b27edc3e05463d85a Mon Sep 17 00:00:00 2001 From: RomellFudi Date: Wed, 6 Mar 2019 18:22:10 -0500 Subject: [PATCH] README documentation update --- README.es.md | 10 ++++++++++ README.md | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/README.es.md b/README.es.md index 7cfa5f7..c9f1b17 100755 --- a/README.es.md +++ b/README.es.md @@ -137,6 +137,16 @@ ussdApi.callUSSDInvoke(phoneNumber, map, new USSDController.CallbackInvoke() { }); ``` +## Static Methods +En caso de uso android >= M, necesitaras verificar los permisos: + +```java + # check if accessibility permissions is enable + USSDController.verifyAccesibilityAccess(Activity) + # check if overlay permissions is enable + USSDController.verifyOverLay(Activity) +``` + Soporte multi-sim card: ```java diff --git a/README.md b/README.md index f8a77d3..e29b032 100755 --- a/README.md +++ b/README.md @@ -145,6 +145,16 @@ ussdApi.callUSSDInvoke(phoneNumber, simSlot, map, new USSDController.CallbackInv } ``` +## Static Methods +In case use at android >= M, you need check permissions: + +```java + # check if accessibility permissions is enable + USSDController.verifyAccesibilityAccess(Activity) + # check if overlay permissions is enable + USSDController.verifyOverLay(Activity) +``` + ## Overlay Service Widget (not required) A huge problem working with ussd is you can not invisible, disenable, resize or put on back in progressDialog