Skip to content

Commit

Permalink
README documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
romellfudi committed Mar 6, 2019
1 parent 808d5f8 commit c6f8cc6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6f8cc6

Please sign in to comment.