Skip to content

Commit 5334e64

Browse files
authored
Merge pull request #2 from gitamego/feat/js-props
fix: js props and notification title
2 parents 038b3b0 + 4ee3181 commit 5334e64

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

android/src/main/java/com/expofp/ExpofpViewManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class ExpofpViewManager : SimpleViewManager<View>() {
5858
settingsMap.getString("secret") ?: "",
5959
Mode.IPS_AND_GPS
6060
)
61-
lpSettings.setServiceNotificationInfo("Knowledge - ServiceNow is running", R.drawable.common_google_signin_btn_icon_dark);
61+
lpSettings.setServiceNotificationInfo("Background Location is running", R.drawable.common_google_signin_btn_icon_dark);
6262
lpSettings.setAlias("onesignal_user_id", it.getString("oneSignalUserId") ?: "");
6363
val locationProvider = CrowdConnectedProvider(application, lpSettings)
6464
GlobalLocationProvider.init(locationProvider)

src/index.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ const LINKING_ERROR =
1414
type ExpofpProps = {
1515
style: ViewStyle;
1616
settings: {
17-
url: string,
18-
onesginalUserId?: string;
17+
url: string;
18+
oneSignalUserId?: string,
19+
appKey?: string
20+
token?: string;
21+
secret?: string;
1922
}
2023
};
2124

0 commit comments

Comments
 (0)