diff --git a/android/src/main/java/com/expofp/ExpofpViewManager.kt b/android/src/main/java/com/expofp/ExpofpViewManager.kt index fcc5645..3d8d4d4 100644 --- a/android/src/main/java/com/expofp/ExpofpViewManager.kt +++ b/android/src/main/java/com/expofp/ExpofpViewManager.kt @@ -58,7 +58,7 @@ class ExpofpViewManager : SimpleViewManager() { settingsMap.getString("secret") ?: "", Mode.IPS_AND_GPS ) - lpSettings.setServiceNotificationInfo("Knowledge - ServiceNow is running", R.drawable.common_google_signin_btn_icon_dark); + lpSettings.setServiceNotificationInfo("Background Location is running", R.drawable.common_google_signin_btn_icon_dark); lpSettings.setAlias("onesignal_user_id", it.getString("oneSignalUserId") ?: ""); val locationProvider = CrowdConnectedProvider(application, lpSettings) GlobalLocationProvider.init(locationProvider) diff --git a/src/index.tsx b/src/index.tsx index 4af6e91..c0714ac 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -14,8 +14,11 @@ const LINKING_ERROR = type ExpofpProps = { style: ViewStyle; settings: { - url: string, - onesginalUserId?: string; + url: string; + oneSignalUserId?: string, + appKey?: string + token?: string; + secret?: string; } };