facia-mobilesdk 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25,7 +25,7 @@ import androidx.annotation.NonNull;
|
|
|
25
25
|
|
|
26
26
|
import org.json.JSONObject;
|
|
27
27
|
|
|
28
|
-
public class
|
|
28
|
+
public class FaciaReactNativeModule extends ReactContextBaseJavaModule {
|
|
29
29
|
|
|
30
30
|
private final ReactApplicationContext reactContext;
|
|
31
31
|
|
|
@@ -51,7 +51,7 @@ public class ShuftiproReactNativeModule extends ReactContextBaseJavaModule {
|
|
|
51
51
|
FaciaAi faciaAi = new FaciaAi();
|
|
52
52
|
|
|
53
53
|
faciaAi.createRequest(token, getCurrentActivity(), configJson, responseSet -> {
|
|
54
|
-
callback.invoke(new JSONObject(
|
|
54
|
+
callback.invoke(new JSONObject(responseSet).toString());
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
// JSONObject requestJson = new JSONObject(requestObject);
|