Skip to content

Commit 4427210

Browse files
committed
Manually test with a specific app in staging
1 parent 74fe5ff commit 4427210

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Examples/OneSignalDemo/app/src/main/java/com/onesignal/sdktest/util/SharedPreferenceUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static boolean exists(Context context, String key) {
2424
}
2525

2626
public static String getOneSignalAppId(Context context) {
27-
return getSharedPreference(context).getString(OS_APP_ID_SHARED_PREF, "77e32082-ea27-42e3-a898-c72e141824ef");
27+
return getSharedPreference(context).getString(OS_APP_ID_SHARED_PREF, "0139bd6f-451f-438c-8886-4e0f0fe3a085");
2828
}
2929

3030
public static boolean getUserPrivacyConsent(Context context) {

OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/internal/http/impl/HttpConnectionFactory.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ internal class HttpConnectionFactory(
1010
) : IHttpConnectionFactory {
1111
@Throws(IOException::class)
1212
override fun newHttpURLConnection(url: String): HttpURLConnection {
13-
return URL(_configModelStore.model.apiUrl + url).openConnection() as HttpURLConnection
13+
return URL("https://staging.onesignal.com/api/v1/" + url).openConnection() as HttpURLConnection
1414
}
1515
}

0 commit comments

Comments
 (0)