Skip to content

Commit

Permalink
Merge pull request #2 from gitamego/feat/js-props
Browse files Browse the repository at this point in the history
fix: js props and notification title
  • Loading branch information
arys authored Aug 29, 2024
2 parents 038b3b0 + 4ee3181 commit 5334e64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android/src/main/java/com/expofp/ExpofpViewManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ExpofpViewManager : SimpleViewManager<View>() {
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)
Expand Down
7 changes: 5 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
};

Expand Down

0 comments on commit 5334e64

Please sign in to comment.