Skip to content

Commit 8feb554

Browse files
authored
Update README.md
1 parent cb2b130 commit 8feb554

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# About appsfly.io Dev Kit Java Utils
22
Java Utils contains resources to help communicate with appsfly.io secure server through encryption.
33

4-
appsfly.io does not whitelist IPs, instead a checkSum should be generated with the Secret Key. To get a Secret Key contact [email protected]
4+
appsfly.io does not whitelist IPs. instead a checkSum should be generated with the Secret Key.
5+
To get a Secret Key contact [email protected]
56

67
### Get Started
78
To start posting messages securely we need the following:
@@ -24,15 +25,12 @@ You can use it to avoid boiler plate code. If not, you can use the api endpoint.
2425

2526
#### Configuration
2627
```
27-
AppInstance.AFConfig config = new AppInstance.AFConfig("REPO_URL", "SECRET_KEY", "APP_KEY");
28+
AppInstance.AFConfig config = new AppInstance.AFConfig("EXECUTOR_URL", "SECRET_KEY", "APP_KEY");
2829
```
2930
#### Execution
3031
```
3132
AppInstance travelProvider = new AppInstance(config, "MODULE_HANDLE");
32-
travelProvider.exec("doBooking", new JSONObject() {{
33-
//Set Params Here
34-
// We will take care of checksum
35-
}}, new Callback() {
33+
travelProvider.exec("INTENT", "PAYLOAD", new Callback() {
3634
@Override
3735
public void onResponse(JSONObject response) {
3836
System.out.println(response);

0 commit comments

Comments
 (0)