@apps-in-toss/web-framework 1.7.0 → 1.8.0
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.
- package/CHANGELOG.md +4 -0
- package/dist/prebuilt/dev.android.js +162 -432
- package/dist/prebuilt/dev.ios.js +162 -432
- package/dist/prebuilt/prod.android.js +125 -361
- package/dist/prebuilt/prod.ios.js +125 -361
- package/package.json +7 -7
|
@@ -11054,6 +11054,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11054
11054
|
function getCallbackIds() {
|
|
11055
11055
|
return Array.from(INTERNAL__callbacks.keys());
|
|
11056
11056
|
}
|
|
11057
|
+
function getReferrer() {
|
|
11058
|
+
try {
|
|
11059
|
+
return new URL(getSchemeUri()).searchParams.get("referrer");
|
|
11060
|
+
} catch (e60) {
|
|
11061
|
+
return null;
|
|
11062
|
+
}
|
|
11063
|
+
}
|
|
11057
11064
|
function getOperationalEnvironment() {
|
|
11058
11065
|
return AppsInTossModule.operationalEnvironment;
|
|
11059
11066
|
}
|
|
@@ -11063,7 +11070,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11063
11070
|
return true;
|
|
11064
11071
|
}
|
|
11065
11072
|
var currentVersion = AppsInTossModule.tossAppVersion;
|
|
11066
|
-
var isIOS =
|
|
11073
|
+
var isIOS = import_react_native42.Platform.OS === "ios";
|
|
11067
11074
|
var minVersion = isIOS ? minVersions.ios : minVersions.android;
|
|
11068
11075
|
if (minVersion === void 0) {
|
|
11069
11076
|
return false;
|
|
@@ -11076,148 +11083,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11076
11083
|
}
|
|
11077
11084
|
return compareVersions(currentVersion, minVersion) >= 0;
|
|
11078
11085
|
}
|
|
11079
|
-
function loadAdMobInterstitialAd(params) {
|
|
11080
|
-
if (!loadAdMobInterstitialAd.isSupported()) {
|
|
11081
|
-
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE));
|
|
11082
|
-
return noop3;
|
|
11083
|
-
}
|
|
11084
|
-
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
11085
|
-
var unregisterCallbacks = INTERNAL__appBridgeHandler.invokeAppBridgeMethod("loadAdMobInterstitialAd", options, {
|
|
11086
|
-
onAdClicked: function() {
|
|
11087
|
-
onEvent({
|
|
11088
|
-
type: "clicked"
|
|
11089
|
-
});
|
|
11090
|
-
},
|
|
11091
|
-
onAdDismissed: function() {
|
|
11092
|
-
onEvent({
|
|
11093
|
-
type: "dismissed"
|
|
11094
|
-
});
|
|
11095
|
-
},
|
|
11096
|
-
onAdFailedToShow: function() {
|
|
11097
|
-
onEvent({
|
|
11098
|
-
type: "failedToShow"
|
|
11099
|
-
});
|
|
11100
|
-
},
|
|
11101
|
-
onAdImpression: function() {
|
|
11102
|
-
onEvent({
|
|
11103
|
-
type: "impression"
|
|
11104
|
-
});
|
|
11105
|
-
},
|
|
11106
|
-
onAdShow: function() {
|
|
11107
|
-
onEvent({
|
|
11108
|
-
type: "show"
|
|
11109
|
-
});
|
|
11110
|
-
},
|
|
11111
|
-
onSuccess: function(result) {
|
|
11112
|
-
return onEvent({
|
|
11113
|
-
type: "loaded",
|
|
11114
|
-
data: result
|
|
11115
|
-
});
|
|
11116
|
-
},
|
|
11117
|
-
onError: onError2
|
|
11118
|
-
});
|
|
11119
|
-
return unregisterCallbacks;
|
|
11120
|
-
}
|
|
11121
|
-
function showAdMobInterstitialAd(params) {
|
|
11122
|
-
if (!showAdMobInterstitialAd.isSupported()) {
|
|
11123
|
-
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE));
|
|
11124
|
-
return noop3;
|
|
11125
|
-
}
|
|
11126
|
-
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
11127
|
-
var unregisterCallbacks = INTERNAL__appBridgeHandler.invokeAppBridgeMethod("showAdMobInterstitialAd", options, {
|
|
11128
|
-
onSuccess: function() {
|
|
11129
|
-
return onEvent({
|
|
11130
|
-
type: "requested"
|
|
11131
|
-
});
|
|
11132
|
-
},
|
|
11133
|
-
onError: onError2
|
|
11134
|
-
});
|
|
11135
|
-
return unregisterCallbacks;
|
|
11136
|
-
}
|
|
11137
|
-
function loadAdMobRewardedAd(params) {
|
|
11138
|
-
if (!loadAdMobRewardedAd.isSupported()) {
|
|
11139
|
-
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE));
|
|
11140
|
-
return noop3;
|
|
11141
|
-
}
|
|
11142
|
-
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
11143
|
-
var unregisterCallbacks = INTERNAL__appBridgeHandler.invokeAppBridgeMethod("loadAdMobRewardedAd", options, {
|
|
11144
|
-
onAdClicked: function() {
|
|
11145
|
-
onEvent({
|
|
11146
|
-
type: "clicked"
|
|
11147
|
-
});
|
|
11148
|
-
},
|
|
11149
|
-
onAdDismissed: function() {
|
|
11150
|
-
onEvent({
|
|
11151
|
-
type: "dismissed"
|
|
11152
|
-
});
|
|
11153
|
-
},
|
|
11154
|
-
onAdFailedToShow: function() {
|
|
11155
|
-
onEvent({
|
|
11156
|
-
type: "failedToShow"
|
|
11157
|
-
});
|
|
11158
|
-
},
|
|
11159
|
-
onAdImpression: function() {
|
|
11160
|
-
onEvent({
|
|
11161
|
-
type: "impression"
|
|
11162
|
-
});
|
|
11163
|
-
},
|
|
11164
|
-
onAdShow: function() {
|
|
11165
|
-
onEvent({
|
|
11166
|
-
type: "show"
|
|
11167
|
-
});
|
|
11168
|
-
},
|
|
11169
|
-
onUserEarnedReward: function() {
|
|
11170
|
-
onEvent({
|
|
11171
|
-
type: "userEarnedReward"
|
|
11172
|
-
});
|
|
11173
|
-
},
|
|
11174
|
-
onSuccess: function(result) {
|
|
11175
|
-
return onEvent({
|
|
11176
|
-
type: "loaded",
|
|
11177
|
-
data: result
|
|
11178
|
-
});
|
|
11179
|
-
},
|
|
11180
|
-
onError: onError2
|
|
11181
|
-
});
|
|
11182
|
-
return unregisterCallbacks;
|
|
11183
|
-
}
|
|
11184
|
-
function showAdMobRewardedAd(params) {
|
|
11185
|
-
if (!showAdMobRewardedAd.isSupported()) {
|
|
11186
|
-
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE));
|
|
11187
|
-
return noop3;
|
|
11188
|
-
}
|
|
11189
|
-
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
11190
|
-
var unregisterCallbacks = INTERNAL__appBridgeHandler.invokeAppBridgeMethod("showAdMobRewardedAd", options, {
|
|
11191
|
-
onSuccess: function() {
|
|
11192
|
-
return onEvent({
|
|
11193
|
-
type: "requested"
|
|
11194
|
-
});
|
|
11195
|
-
},
|
|
11196
|
-
onError: onError2
|
|
11197
|
-
});
|
|
11198
|
-
return unregisterCallbacks;
|
|
11199
|
-
}
|
|
11200
|
-
function createIsSupported() {
|
|
11201
|
-
return function() {
|
|
11202
|
-
if (ENVIRONMENT !== "toss") {
|
|
11203
|
-
return false;
|
|
11204
|
-
}
|
|
11205
|
-
return isMinVersionSupported({
|
|
11206
|
-
android: ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION,
|
|
11207
|
-
ios: IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION
|
|
11208
|
-
});
|
|
11209
|
-
};
|
|
11210
|
-
}
|
|
11211
|
-
function getReferrer() {
|
|
11212
|
-
try {
|
|
11213
|
-
return new URL(getSchemeUri()).searchParams.get("referrer");
|
|
11214
|
-
} catch (e60) {
|
|
11215
|
-
return null;
|
|
11216
|
-
}
|
|
11217
|
-
}
|
|
11218
11086
|
function loadAppsInTossAdMob(params) {
|
|
11219
11087
|
if (!loadAppsInTossAdMob.isSupported()) {
|
|
11220
|
-
params.onError(new Error(
|
|
11088
|
+
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE));
|
|
11221
11089
|
return noop3;
|
|
11222
11090
|
}
|
|
11223
11091
|
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
@@ -11237,7 +11105,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11237
11105
|
}
|
|
11238
11106
|
function showAppsInTossAdMob(params) {
|
|
11239
11107
|
if (!showAppsInTossAdMob.isSupported()) {
|
|
11240
|
-
params.onError(new Error(
|
|
11108
|
+
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE));
|
|
11241
11109
|
return noop3;
|
|
11242
11110
|
}
|
|
11243
11111
|
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
@@ -11285,17 +11153,51 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11285
11153
|
});
|
|
11286
11154
|
return unregisterCallbacks;
|
|
11287
11155
|
}
|
|
11288
|
-
function
|
|
11156
|
+
function createIsSupported() {
|
|
11289
11157
|
return function() {
|
|
11290
|
-
if (
|
|
11158
|
+
if (ENVIRONMENT !== "toss") {
|
|
11291
11159
|
return false;
|
|
11292
11160
|
}
|
|
11293
11161
|
return isMinVersionSupported({
|
|
11294
|
-
android:
|
|
11295
|
-
ios:
|
|
11162
|
+
android: ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION,
|
|
11163
|
+
ios: IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION
|
|
11296
11164
|
});
|
|
11297
11165
|
};
|
|
11298
11166
|
}
|
|
11167
|
+
function isAppsInTossAdMobLoaded(params) {
|
|
11168
|
+
return _isAppsInTossAdMobLoaded.apply(this, arguments);
|
|
11169
|
+
}
|
|
11170
|
+
function _isAppsInTossAdMobLoaded() {
|
|
11171
|
+
_isAppsInTossAdMobLoaded = _async_to_generator(function(params) {
|
|
11172
|
+
return __generator(this, function(_state) {
|
|
11173
|
+
if (!isAppsInTossAdMobLoadedSupported()) {
|
|
11174
|
+
return [
|
|
11175
|
+
2,
|
|
11176
|
+
false
|
|
11177
|
+
];
|
|
11178
|
+
}
|
|
11179
|
+
return [
|
|
11180
|
+
2,
|
|
11181
|
+
new Promise(function(resolve, reject) {
|
|
11182
|
+
var unregister = INTERNAL__appBridgeHandler.invokeAppBridgeMethod("getCachedStatusAppsInTossAdmob", _object_spread({}, params), {
|
|
11183
|
+
onSuccess: function(cached) {
|
|
11184
|
+
resolve(cached);
|
|
11185
|
+
unregister();
|
|
11186
|
+
},
|
|
11187
|
+
onError: reject
|
|
11188
|
+
});
|
|
11189
|
+
})
|
|
11190
|
+
];
|
|
11191
|
+
});
|
|
11192
|
+
});
|
|
11193
|
+
return _isAppsInTossAdMobLoaded.apply(this, arguments);
|
|
11194
|
+
}
|
|
11195
|
+
function isAppsInTossAdMobLoadedSupported() {
|
|
11196
|
+
return ENVIRONMENT !== "toss" ? false : isMinVersionSupported({
|
|
11197
|
+
android: "5.244.0",
|
|
11198
|
+
ios: "5.244.0"
|
|
11199
|
+
});
|
|
11200
|
+
}
|
|
11299
11201
|
function normalizeParams(params) {
|
|
11300
11202
|
return Object.fromEntries(Object.entries(params).filter(function(param) {
|
|
11301
11203
|
var _param = _sliced_to_array(param, 2), value = _param[1];
|
|
@@ -11695,7 +11597,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11695
11597
|
}
|
|
11696
11598
|
});
|
|
11697
11599
|
}
|
|
11698
|
-
var import_react_native37, import_react_native38,
|
|
11600
|
+
var import_react_native37, import_react_native38, import_react_native42, import_react_native43, import_react_native44, import_react_native45, import_react_native46, import_react_native47, import_react_native48, Module, AppsInTossModuleInstance, AppsInTossModule, nativeEventEmitter2, UpdateLocationEvent, INTERNAL__callbacks, INTERNAL__appBridgeHandler, UNSAFE__nativeEventEmitter, AppBridgeCallbackEvent, VisibilityChangedByTransparentServiceWebEvent, appsInTossEvent, SEMVER_REGEX, isWildcard, tryParse, coerceTypes, compareValues, parseVersion, compareSegments, compareVersions, ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION, IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE, ENVIRONMENT, DEFAULT_MAX_COUNT, DEFAULT_MAX_WIDTH, fetchAlbumPhotos, fetchContacts, getClipboardText, getCurrentLocation, setClipboardText, openCamera, IAP, Storage, GAME_CENTER_MIN_VERSION, GoogleAdMob, BedrockModule, BedrockCoreModule, TossCoreModule, INTERNAL__module;
|
|
11699
11601
|
var init_dist6 = __esm({
|
|
11700
11602
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/dist/index.js"() {
|
|
11701
11603
|
"use strict";
|
|
@@ -11719,9 +11621,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11719
11621
|
init_src3();
|
|
11720
11622
|
init_src3();
|
|
11721
11623
|
init_dist5();
|
|
11722
|
-
import_react_native41 = __toESM(require_react_native(), 1);
|
|
11723
|
-
init_dist5();
|
|
11724
11624
|
init_src3();
|
|
11625
|
+
import_react_native42 = __toESM(require_react_native(), 1);
|
|
11725
11626
|
init_dist4();
|
|
11726
11627
|
init_dist4();
|
|
11727
11628
|
init_dist4();
|
|
@@ -11983,20 +11884,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11983
11884
|
}
|
|
11984
11885
|
return 0;
|
|
11985
11886
|
};
|
|
11986
|
-
ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION = "5.
|
|
11987
|
-
IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION = "5.
|
|
11887
|
+
ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION = "5.227.0";
|
|
11888
|
+
IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION = "5.227.0";
|
|
11988
11889
|
UNSUPPORTED_ERROR_MESSAGE = "This feature is not supported in the current environment";
|
|
11989
11890
|
ENVIRONMENT = getOperationalEnvironment();
|
|
11990
|
-
|
|
11991
|
-
|
|
11992
|
-
|
|
11993
|
-
showAdMobRewardedAd.isSupported = createIsSupported();
|
|
11994
|
-
ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION2 = "5.227.0";
|
|
11995
|
-
IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION2 = "5.227.0";
|
|
11996
|
-
UNSUPPORTED_ERROR_MESSAGE2 = "This feature is not supported in the current environment";
|
|
11997
|
-
ENVIRONMENT2 = getOperationalEnvironment();
|
|
11998
|
-
loadAppsInTossAdMob.isSupported = createIsSupported2();
|
|
11999
|
-
showAppsInTossAdMob.isSupported = createIsSupported2();
|
|
11891
|
+
loadAppsInTossAdMob.isSupported = createIsSupported();
|
|
11892
|
+
showAppsInTossAdMob.isSupported = createIsSupported();
|
|
11893
|
+
isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
|
|
12000
11894
|
DEFAULT_MAX_COUNT = 10;
|
|
12001
11895
|
DEFAULT_MAX_WIDTH = 1024;
|
|
12002
11896
|
fetchAlbumPhotos = createPermissionFunction({
|
|
@@ -12130,12 +12024,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
12130
12024
|
ios: "5.221.0"
|
|
12131
12025
|
};
|
|
12132
12026
|
GoogleAdMob = {
|
|
12133
|
-
loadAdMobInterstitialAd,
|
|
12134
|
-
showAdMobInterstitialAd,
|
|
12135
|
-
loadAdMobRewardedAd,
|
|
12136
|
-
showAdMobRewardedAd,
|
|
12137
12027
|
loadAppsInTossAdMob,
|
|
12138
|
-
showAppsInTossAdMob
|
|
12028
|
+
showAppsInTossAdMob,
|
|
12029
|
+
isAppsInTossAdMobLoaded
|
|
12139
12030
|
};
|
|
12140
12031
|
startUpdateLocation.openPermissionDialog = getCurrentLocation.openPermissionDialog;
|
|
12141
12032
|
startUpdateLocation.getPermission = getCurrentLocation.getPermission;
|
|
@@ -44661,158 +44552,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44661
44552
|
}
|
|
44662
44553
|
});
|
|
44663
44554
|
|
|
44664
|
-
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMob.ts
|
|
44665
|
-
function loadAdMobInterstitialAd2(params) {
|
|
44666
|
-
if (!loadAdMobInterstitialAd2.isSupported()) {
|
|
44667
|
-
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE3));
|
|
44668
|
-
return noop3;
|
|
44669
|
-
}
|
|
44670
|
-
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
44671
|
-
var unregisterCallbacks = INTERNAL__appBridgeHandler2.invokeAppBridgeMethod("loadAdMobInterstitialAd", options, {
|
|
44672
|
-
onAdClicked: function() {
|
|
44673
|
-
onEvent({
|
|
44674
|
-
type: "clicked"
|
|
44675
|
-
});
|
|
44676
|
-
},
|
|
44677
|
-
onAdDismissed: function() {
|
|
44678
|
-
onEvent({
|
|
44679
|
-
type: "dismissed"
|
|
44680
|
-
});
|
|
44681
|
-
},
|
|
44682
|
-
onAdFailedToShow: function() {
|
|
44683
|
-
onEvent({
|
|
44684
|
-
type: "failedToShow"
|
|
44685
|
-
});
|
|
44686
|
-
},
|
|
44687
|
-
onAdImpression: function() {
|
|
44688
|
-
onEvent({
|
|
44689
|
-
type: "impression"
|
|
44690
|
-
});
|
|
44691
|
-
},
|
|
44692
|
-
onAdShow: function() {
|
|
44693
|
-
onEvent({
|
|
44694
|
-
type: "show"
|
|
44695
|
-
});
|
|
44696
|
-
},
|
|
44697
|
-
onSuccess: function(result) {
|
|
44698
|
-
return onEvent({
|
|
44699
|
-
type: "loaded",
|
|
44700
|
-
data: result
|
|
44701
|
-
});
|
|
44702
|
-
},
|
|
44703
|
-
onError: onError2
|
|
44704
|
-
});
|
|
44705
|
-
return unregisterCallbacks;
|
|
44706
|
-
}
|
|
44707
|
-
function showAdMobInterstitialAd2(params) {
|
|
44708
|
-
if (!showAdMobInterstitialAd2.isSupported()) {
|
|
44709
|
-
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE3));
|
|
44710
|
-
return noop3;
|
|
44711
|
-
}
|
|
44712
|
-
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
44713
|
-
var unregisterCallbacks = INTERNAL__appBridgeHandler2.invokeAppBridgeMethod("showAdMobInterstitialAd", options, {
|
|
44714
|
-
onSuccess: function() {
|
|
44715
|
-
return onEvent({
|
|
44716
|
-
type: "requested"
|
|
44717
|
-
});
|
|
44718
|
-
},
|
|
44719
|
-
onError: onError2
|
|
44720
|
-
});
|
|
44721
|
-
return unregisterCallbacks;
|
|
44722
|
-
}
|
|
44723
|
-
function loadAdMobRewardedAd2(params) {
|
|
44724
|
-
if (!loadAdMobRewardedAd2.isSupported()) {
|
|
44725
|
-
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE3));
|
|
44726
|
-
return noop3;
|
|
44727
|
-
}
|
|
44728
|
-
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
44729
|
-
var unregisterCallbacks = INTERNAL__appBridgeHandler2.invokeAppBridgeMethod("loadAdMobRewardedAd", options, {
|
|
44730
|
-
onAdClicked: function() {
|
|
44731
|
-
onEvent({
|
|
44732
|
-
type: "clicked"
|
|
44733
|
-
});
|
|
44734
|
-
},
|
|
44735
|
-
onAdDismissed: function() {
|
|
44736
|
-
onEvent({
|
|
44737
|
-
type: "dismissed"
|
|
44738
|
-
});
|
|
44739
|
-
},
|
|
44740
|
-
onAdFailedToShow: function() {
|
|
44741
|
-
onEvent({
|
|
44742
|
-
type: "failedToShow"
|
|
44743
|
-
});
|
|
44744
|
-
},
|
|
44745
|
-
onAdImpression: function() {
|
|
44746
|
-
onEvent({
|
|
44747
|
-
type: "impression"
|
|
44748
|
-
});
|
|
44749
|
-
},
|
|
44750
|
-
onAdShow: function() {
|
|
44751
|
-
onEvent({
|
|
44752
|
-
type: "show"
|
|
44753
|
-
});
|
|
44754
|
-
},
|
|
44755
|
-
onUserEarnedReward: function() {
|
|
44756
|
-
onEvent({
|
|
44757
|
-
type: "userEarnedReward"
|
|
44758
|
-
});
|
|
44759
|
-
},
|
|
44760
|
-
onSuccess: function(result) {
|
|
44761
|
-
return onEvent({
|
|
44762
|
-
type: "loaded",
|
|
44763
|
-
data: result
|
|
44764
|
-
});
|
|
44765
|
-
},
|
|
44766
|
-
onError: onError2
|
|
44767
|
-
});
|
|
44768
|
-
return unregisterCallbacks;
|
|
44769
|
-
}
|
|
44770
|
-
function showAdMobRewardedAd2(params) {
|
|
44771
|
-
if (!showAdMobRewardedAd2.isSupported()) {
|
|
44772
|
-
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE3));
|
|
44773
|
-
return noop3;
|
|
44774
|
-
}
|
|
44775
|
-
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
44776
|
-
var unregisterCallbacks = INTERNAL__appBridgeHandler2.invokeAppBridgeMethod("showAdMobRewardedAd", options, {
|
|
44777
|
-
onSuccess: function() {
|
|
44778
|
-
return onEvent({
|
|
44779
|
-
type: "requested"
|
|
44780
|
-
});
|
|
44781
|
-
},
|
|
44782
|
-
onError: onError2
|
|
44783
|
-
});
|
|
44784
|
-
return unregisterCallbacks;
|
|
44785
|
-
}
|
|
44786
|
-
function createIsSupported3() {
|
|
44787
|
-
return function() {
|
|
44788
|
-
if (ENVIRONMENT3 !== "toss") {
|
|
44789
|
-
return false;
|
|
44790
|
-
}
|
|
44791
|
-
return isMinVersionSupported2({
|
|
44792
|
-
android: ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION3,
|
|
44793
|
-
ios: IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION3
|
|
44794
|
-
});
|
|
44795
|
-
};
|
|
44796
|
-
}
|
|
44797
|
-
var ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION3, IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION3, UNSUPPORTED_ERROR_MESSAGE3, ENVIRONMENT3;
|
|
44798
|
-
var init_googleAdMob = __esm({
|
|
44799
|
-
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMob.ts"() {
|
|
44800
|
-
"use strict";
|
|
44801
|
-
init_dist5();
|
|
44802
|
-
init_appBridge();
|
|
44803
|
-
init_getOperationalEnvironment();
|
|
44804
|
-
init_isMinVersionSupported();
|
|
44805
|
-
ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION3 = "5.209.0";
|
|
44806
|
-
IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION3 = "5.209.0";
|
|
44807
|
-
UNSUPPORTED_ERROR_MESSAGE3 = "This feature is not supported in the current environment";
|
|
44808
|
-
ENVIRONMENT3 = getOperationalEnvironment2();
|
|
44809
|
-
loadAdMobInterstitialAd2.isSupported = createIsSupported3();
|
|
44810
|
-
loadAdMobRewardedAd2.isSupported = createIsSupported3();
|
|
44811
|
-
showAdMobInterstitialAd2.isSupported = createIsSupported3();
|
|
44812
|
-
showAdMobRewardedAd2.isSupported = createIsSupported3();
|
|
44813
|
-
}
|
|
44814
|
-
});
|
|
44815
|
-
|
|
44816
44555
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts
|
|
44817
44556
|
function getReferrer2() {
|
|
44818
44557
|
try {
|
|
@@ -44831,7 +44570,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44831
44570
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts
|
|
44832
44571
|
function loadAppsInTossAdMob2(params) {
|
|
44833
44572
|
if (!loadAppsInTossAdMob2.isSupported()) {
|
|
44834
|
-
params.onError(new Error(
|
|
44573
|
+
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE2));
|
|
44835
44574
|
return noop3;
|
|
44836
44575
|
}
|
|
44837
44576
|
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
@@ -44851,7 +44590,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44851
44590
|
}
|
|
44852
44591
|
function showAppsInTossAdMob2(params) {
|
|
44853
44592
|
if (!showAppsInTossAdMob2.isSupported()) {
|
|
44854
|
-
params.onError(new Error(
|
|
44593
|
+
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE2));
|
|
44855
44594
|
return noop3;
|
|
44856
44595
|
}
|
|
44857
44596
|
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
@@ -44899,34 +44638,71 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44899
44638
|
});
|
|
44900
44639
|
return unregisterCallbacks;
|
|
44901
44640
|
}
|
|
44902
|
-
function
|
|
44641
|
+
function createIsSupported2() {
|
|
44903
44642
|
return function() {
|
|
44904
|
-
if (
|
|
44643
|
+
if (ENVIRONMENT2 !== "toss") {
|
|
44905
44644
|
return false;
|
|
44906
44645
|
}
|
|
44907
44646
|
return isMinVersionSupported2({
|
|
44908
|
-
android:
|
|
44909
|
-
ios:
|
|
44647
|
+
android: ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION2,
|
|
44648
|
+
ios: IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION2
|
|
44910
44649
|
});
|
|
44911
44650
|
};
|
|
44912
44651
|
}
|
|
44913
|
-
|
|
44652
|
+
function isAppsInTossAdMobLoaded2(params) {
|
|
44653
|
+
return _isAppsInTossAdMobLoaded2.apply(this, arguments);
|
|
44654
|
+
}
|
|
44655
|
+
function _isAppsInTossAdMobLoaded2() {
|
|
44656
|
+
_isAppsInTossAdMobLoaded2 = _async_to_generator(function(params) {
|
|
44657
|
+
return __generator(this, function(_state) {
|
|
44658
|
+
if (!isAppsInTossAdMobLoadedSupported2()) {
|
|
44659
|
+
return [
|
|
44660
|
+
2,
|
|
44661
|
+
false
|
|
44662
|
+
];
|
|
44663
|
+
}
|
|
44664
|
+
return [
|
|
44665
|
+
2,
|
|
44666
|
+
new Promise(function(resolve, reject) {
|
|
44667
|
+
var unregister = INTERNAL__appBridgeHandler2.invokeAppBridgeMethod("getCachedStatusAppsInTossAdmob", _object_spread({}, params), {
|
|
44668
|
+
onSuccess: function(cached) {
|
|
44669
|
+
resolve(cached);
|
|
44670
|
+
unregister();
|
|
44671
|
+
},
|
|
44672
|
+
onError: reject
|
|
44673
|
+
});
|
|
44674
|
+
})
|
|
44675
|
+
];
|
|
44676
|
+
});
|
|
44677
|
+
});
|
|
44678
|
+
return _isAppsInTossAdMobLoaded2.apply(this, arguments);
|
|
44679
|
+
}
|
|
44680
|
+
function isAppsInTossAdMobLoadedSupported2() {
|
|
44681
|
+
return ENVIRONMENT2 !== "toss" ? false : isMinVersionSupported2({
|
|
44682
|
+
android: "5.244.0",
|
|
44683
|
+
ios: "5.244.0"
|
|
44684
|
+
});
|
|
44685
|
+
}
|
|
44686
|
+
var ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION2, IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION2, UNSUPPORTED_ERROR_MESSAGE2, ENVIRONMENT2;
|
|
44914
44687
|
var init_googleAdMobV2 = __esm({
|
|
44915
44688
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts"() {
|
|
44916
44689
|
"use strict";
|
|
44690
|
+
init_async_to_generator();
|
|
44917
44691
|
init_object_spread();
|
|
44918
44692
|
init_object_spread_props();
|
|
44693
|
+
init_ts_generator();
|
|
44919
44694
|
init_dist5();
|
|
44920
44695
|
init_getReferrer();
|
|
44921
44696
|
init_appBridge();
|
|
44922
44697
|
init_getOperationalEnvironment();
|
|
44923
44698
|
init_isMinVersionSupported();
|
|
44924
|
-
|
|
44925
|
-
|
|
44926
|
-
|
|
44927
|
-
|
|
44928
|
-
loadAppsInTossAdMob2.isSupported =
|
|
44929
|
-
showAppsInTossAdMob2.isSupported =
|
|
44699
|
+
ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION2 = "5.227.0";
|
|
44700
|
+
IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION2 = "5.227.0";
|
|
44701
|
+
UNSUPPORTED_ERROR_MESSAGE2 = "This feature is not supported in the current environment";
|
|
44702
|
+
ENVIRONMENT2 = getOperationalEnvironment2();
|
|
44703
|
+
loadAppsInTossAdMob2.isSupported = createIsSupported2();
|
|
44704
|
+
showAppsInTossAdMob2.isSupported = createIsSupported2();
|
|
44705
|
+
isAppsInTossAdMobLoaded2.isSupported = isAppsInTossAdMobLoadedSupported2;
|
|
44930
44706
|
}
|
|
44931
44707
|
});
|
|
44932
44708
|
|
|
@@ -44990,7 +44766,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44990
44766
|
var init_native_modules2 = __esm({
|
|
44991
44767
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/AppsInTossModule/native-modules/index.ts"() {
|
|
44992
44768
|
"use strict";
|
|
44993
|
-
init_googleAdMob();
|
|
44994
44769
|
init_googleAdMobV2();
|
|
44995
44770
|
init_checkoutPayment();
|
|
44996
44771
|
init_AppsInTossModule();
|
|
@@ -46228,7 +46003,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
46228
46003
|
}
|
|
46229
46004
|
function fetchTossAd(params) {
|
|
46230
46005
|
if (!fetchTossAd.isSupported()) {
|
|
46231
|
-
params.onError(new Error(
|
|
46006
|
+
params.onError(new Error(UNSUPPORTED_ERROR_MESSAGE3));
|
|
46232
46007
|
return noop4;
|
|
46233
46008
|
}
|
|
46234
46009
|
var onEvent = params.onEvent, onError2 = params.onError, options = params.options;
|
|
@@ -47257,11 +47032,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47257
47032
|
options
|
|
47258
47033
|
});
|
|
47259
47034
|
},
|
|
47260
|
-
/** AdMob */
|
|
47261
|
-
loadAdMobInterstitialAd: GoogleAdMob.loadAdMobInterstitialAd,
|
|
47262
|
-
showAdMobInterstitialAd: GoogleAdMob.showAdMobInterstitialAd,
|
|
47263
|
-
loadAdMobRewardedAd: GoogleAdMob.loadAdMobRewardedAd,
|
|
47264
|
-
showAdMobRewardedAd: GoogleAdMob.showAdMobRewardedAd,
|
|
47265
47035
|
/** AdMobV2 */
|
|
47266
47036
|
loadAppsInTossAdMob: GoogleAdMob.loadAppsInTossAdMob,
|
|
47267
47037
|
showAppsInTossAdMob: GoogleAdMob.showAppsInTossAdMob,
|
|
@@ -47275,17 +47045,13 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47275
47045
|
requestOneTimePurchase
|
|
47276
47046
|
}),
|
|
47277
47047
|
constantHandlerMap: _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, constant_bridges_exports), {
|
|
47278
|
-
|
|
47279
|
-
return
|
|
47280
|
-
|
|
47281
|
-
|
|
47282
|
-
|
|
47283
|
-
|
|
47284
|
-
|
|
47285
|
-
return insets.left;
|
|
47286
|
-
},
|
|
47287
|
-
getSafeAreaRight: function() {
|
|
47288
|
-
return insets.right;
|
|
47048
|
+
getSafeAreaInsets: function() {
|
|
47049
|
+
return {
|
|
47050
|
+
top,
|
|
47051
|
+
bottom,
|
|
47052
|
+
left: insets.left,
|
|
47053
|
+
right: insets.right
|
|
47054
|
+
};
|
|
47289
47055
|
}
|
|
47290
47056
|
}), Object.fromEntries(Object.entries(global2).map(function(param) {
|
|
47291
47057
|
var _$_param = _sliced_to_array(param, 2), key = _$_param[0], value = _$_param[1];
|
|
@@ -47296,14 +47062,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47296
47062
|
}
|
|
47297
47063
|
];
|
|
47298
47064
|
}))), {
|
|
47299
|
-
/** AdMob */
|
|
47300
|
-
loadAdMobInterstitialAd_isSupported: GoogleAdMob.loadAdMobInterstitialAd.isSupported,
|
|
47301
|
-
showAdMobInterstitialAd_isSupported: GoogleAdMob.showAdMobInterstitialAd.isSupported,
|
|
47302
|
-
loadAdMobRewardedAd_isSupported: GoogleAdMob.loadAdMobRewardedAd.isSupported,
|
|
47303
|
-
showAdMobRewardedAd_isSupported: GoogleAdMob.showAdMobRewardedAd.isSupported,
|
|
47304
47065
|
/** AdMobV2 */
|
|
47305
47066
|
loadAppsInTossAdMob_isSupported: GoogleAdMob.loadAppsInTossAdMob.isSupported,
|
|
47306
47067
|
showAppsInTossAdMob_isSupported: GoogleAdMob.showAppsInTossAdMob.isSupported,
|
|
47068
|
+
isAppsInTossAdMobLoaded_isSupported: GoogleAdMob.isAppsInTossAdMobLoaded.isSupported,
|
|
47307
47069
|
/** IntegratedAd */
|
|
47308
47070
|
loadFullScreenAd_isSupported: loadFullScreenAdForWeb.isSupported,
|
|
47309
47071
|
showFullScreenAd_isSupported: showFullScreenAd.isSupported,
|
|
@@ -47360,6 +47122,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47360
47122
|
getPendingOrders: IAP.getPendingOrders,
|
|
47361
47123
|
getCompletedOrRefundedOrders: IAP.getCompletedOrRefundedOrders,
|
|
47362
47124
|
completeProductGrant: IAP.completeProductGrant,
|
|
47125
|
+
/** AdMobV2 */
|
|
47126
|
+
isAppsInTossAdMobLoaded: GoogleAdMob.isAppsInTossAdMobLoaded,
|
|
47363
47127
|
/** Toss Ads */
|
|
47364
47128
|
tossAdEventLog,
|
|
47365
47129
|
/** Private */
|
|
@@ -47440,7 +47204,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47440
47204
|
if ([
|
|
47441
47205
|
"https:",
|
|
47442
47206
|
"http:"
|
|
47443
|
-
].includes(url.protocol)) {
|
|
47207
|
+
].includes(url.protocol) || url.href === "about:blank") {
|
|
47444
47208
|
return true;
|
|
47445
47209
|
} else {
|
|
47446
47210
|
var _convertIntentURL;
|
|
@@ -47482,7 +47246,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
47482
47246
|
return typeof script === "string";
|
|
47483
47247
|
}).join("\n");
|
|
47484
47248
|
}
|
|
47485
|
-
var import_react_native197, import_react209, import_react210, import_react211, import_react212, import_jsx_runtime218, import_react213, import_jsx_runtime219, import_react214, import_react_native203, import_react215, import_react_native205, import_react216, import_react_native207, import_react217, import_react218, import_react219, import_react220, import_jsx_runtime220, import_jsx_runtime221, import_react221, import_react_native210, import_react222, import_react223, import_react224, import_react_native215, import_react_native216, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_jsx_runtime225, import_react225, import_jsx_runtime226, import_jsx_runtime227, import_react_native219, import_jsx_runtime228, import_jsx_runtime229, import_jsx_runtime230, import_react226, import_react_native221, import_react227, import_react_native222, import_react228, import_react_native224, import_jsx_runtime231, import_jsx_runtime232, import_react229, import_react230, import_jsx_runtime233, import_jsx_runtime234, import_react231, import_react232, import_react233, import_react234, import_react_native230, import_react235, import_react236, import_jsx_runtime235, __defProp2, __getOwnPropDesc2, __getOwnPropNames2, __hasOwnProp2, __copyProps2, __reExport2, env, EXIT_IMPRESSION_LOG_NAME, EXIT_IMPRESSION_SCHEMA_ID, ENTRY_APP_EVENT_SCHEMA_ID, AppEvent, UPDATE_SCHEME, NavigationBarContext, GAME_PROFILE_WEBVIEW_URL, GAME_MIN_VERSION, PLAYSTORE_LINK, APPSTORE_LINK, getMarketLink, UPDATE_DIALOG_SCHEMA_ID, UPDATE_DIALOG_LOG_NAME, UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID, UPDATE_DIALOG_CTA_CLICK_LOG_NAME, DEFAULT_ERROR, useErrorAlert, INTERNAL__onVisibilityChangedByTransparentServiceWeb, openTransparentWebView, useTransparentWebview, useGameProfileToast, useGameCenterProfile, Z_INDEX, GameInitializer, overlayStyle, NAVI_BAR_IMPRESSION_SCHEMA_ID, NAVI_BAR_IMPRESSION_LOG_NAME, CLOSE_POPUP_SHOW_SCHEMA_ID, CLOSE_POPUP_SHOW_LOG_NAME, CLOSE_BUTTON_CLICK_SCHEMA_ID, CLOSE_BUTTON_CLICK_LOG_NAME, CLOSE_POPUP_CTA_CLICK_SCHEMA_ID, CLOSE_POPUP_CTA_CLICK_LOG_NAME, HOME_BUTTON_CLICK_SCHEMA_ID, HOME_BUTTON_CLICK_LOG_NAME, BOTTOM_SHEET_SCHEMA_ID, BOTTOM_SHEET_LOG_NAME, BOTTOM_SHEET_OPEN_SCHEMA_ID, BOTTOM_SHEET_OPEN_LOG_NAME, BOTTOM_SHEET_CLOSE_CLICK_SCHEMA_ID, BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME, BOTTOM_SHEET_MENU_CLICK_SCHEMA_ID, BOTTOM_SHEET_MENU_CLICK_LOG_NAME, iconNameRegExp, iconURLRegExp, SHARE_SCHEME_REFERRER, APP_SHARE_MENU_INFO, APP_BRIDGE_METHOD_NAME, MIN_VERSION, RNNavigationBar, bridge_entry_exports, AppsInToss, GameWebView, PartnerWebView, sessionId, ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION, IOS_FETCH_TOSS_AD_SUPPORTED_VERSION,
|
|
47249
|
+
var import_react_native197, import_react209, import_react210, import_react211, import_react212, import_jsx_runtime218, import_react213, import_jsx_runtime219, import_react214, import_react_native203, import_react215, import_react_native205, import_react216, import_react_native207, import_react217, import_react218, import_react219, import_react220, import_jsx_runtime220, import_jsx_runtime221, import_react221, import_react_native210, import_react222, import_react223, import_react224, import_react_native215, import_react_native216, import_jsx_runtime222, import_jsx_runtime223, import_jsx_runtime224, import_jsx_runtime225, import_react225, import_jsx_runtime226, import_jsx_runtime227, import_react_native219, import_jsx_runtime228, import_jsx_runtime229, import_jsx_runtime230, import_react226, import_react_native221, import_react227, import_react_native222, import_react228, import_react_native224, import_jsx_runtime231, import_jsx_runtime232, import_react229, import_react230, import_jsx_runtime233, import_jsx_runtime234, import_react231, import_react232, import_react233, import_react234, import_react_native230, import_react235, import_react236, import_jsx_runtime235, __defProp2, __getOwnPropDesc2, __getOwnPropNames2, __hasOwnProp2, __copyProps2, __reExport2, env, EXIT_IMPRESSION_LOG_NAME, EXIT_IMPRESSION_SCHEMA_ID, ENTRY_APP_EVENT_SCHEMA_ID, AppEvent, UPDATE_SCHEME, NavigationBarContext, GAME_PROFILE_WEBVIEW_URL, GAME_MIN_VERSION, PLAYSTORE_LINK, APPSTORE_LINK, getMarketLink, UPDATE_DIALOG_SCHEMA_ID, UPDATE_DIALOG_LOG_NAME, UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID, UPDATE_DIALOG_CTA_CLICK_LOG_NAME, DEFAULT_ERROR, useErrorAlert, INTERNAL__onVisibilityChangedByTransparentServiceWeb, openTransparentWebView, useTransparentWebview, useGameProfileToast, useGameCenterProfile, Z_INDEX, GameInitializer, overlayStyle, NAVI_BAR_IMPRESSION_SCHEMA_ID, NAVI_BAR_IMPRESSION_LOG_NAME, CLOSE_POPUP_SHOW_SCHEMA_ID, CLOSE_POPUP_SHOW_LOG_NAME, CLOSE_BUTTON_CLICK_SCHEMA_ID, CLOSE_BUTTON_CLICK_LOG_NAME, CLOSE_POPUP_CTA_CLICK_SCHEMA_ID, CLOSE_POPUP_CTA_CLICK_LOG_NAME, HOME_BUTTON_CLICK_SCHEMA_ID, HOME_BUTTON_CLICK_LOG_NAME, BOTTOM_SHEET_SCHEMA_ID, BOTTOM_SHEET_LOG_NAME, BOTTOM_SHEET_OPEN_SCHEMA_ID, BOTTOM_SHEET_OPEN_LOG_NAME, BOTTOM_SHEET_CLOSE_CLICK_SCHEMA_ID, BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME, BOTTOM_SHEET_MENU_CLICK_SCHEMA_ID, BOTTOM_SHEET_MENU_CLICK_LOG_NAME, iconNameRegExp, iconURLRegExp, SHARE_SCHEME_REFERRER, APP_SHARE_MENU_INFO, APP_BRIDGE_METHOD_NAME, MIN_VERSION, RNNavigationBar, bridge_entry_exports, AppsInToss, GameWebView, PartnerWebView, sessionId, ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION, IOS_FETCH_TOSS_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE3, ENVIRONMENT3, OPERATIONAL_ENVIRONMENT, OS, APP_VER, ALPHA_EVENT_TRACKER_HTTP_ENDPOINT, LIVE_EVENT_TRACKER_HTTP_ENDPOINT, INTEGRATED_AD_SDK_VERSION, ANDROID_INTEGRATED_AD_SUPPORTED_VERSION, IOS_INTEGRATED_AD_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE22, INTG_AD_ADM_FALLBACK_RID_MAP, loadFullScreenAd, loadFullScreenAdForWeb, globalEventListenerMap, EventEmitter, INITIAL_STATE, HISTORY_BACK_SCRIPT, HISTORY_HOME_SCRIPT, FontA11yCategory, androidFontScaleMap, iosScaleToAndroidScale, extractDateFromUUIDv7, getGroupId, getReferrer22, trackScreen, operationalEnvironment, TYPES, WEBVIEW_TYPES, Analytics2;
|
|
47486
47250
|
var init_dist8 = __esm({
|
|
47487
47251
|
"../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.js"() {
|
|
47488
47252
|
"use strict";
|
|
@@ -48241,10 +48005,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
48241
48005
|
sessionId = generateSessionId();
|
|
48242
48006
|
ANDROID_FETCH_TOSS_AD_SUPPORTED_VERSION = "5.241.0";
|
|
48243
48007
|
IOS_FETCH_TOSS_AD_SUPPORTED_VERSION = "5.241.0";
|
|
48244
|
-
|
|
48245
|
-
|
|
48008
|
+
UNSUPPORTED_ERROR_MESSAGE3 = "This feature is not supported in the current environment";
|
|
48009
|
+
ENVIRONMENT3 = getOperationalEnvironment();
|
|
48246
48010
|
fetchTossAd.isSupported = function() {
|
|
48247
|
-
if (
|
|
48011
|
+
if (ENVIRONMENT3 !== "toss") {
|
|
48248
48012
|
return false;
|
|
48249
48013
|
}
|
|
48250
48014
|
return isMinVersionSupported({
|
|
@@ -48258,8 +48022,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
48258
48022
|
ALPHA_EVENT_TRACKER_HTTP_ENDPOINT = "https://alpha-trillion.toss.im/trk/sdk-mediation/event";
|
|
48259
48023
|
LIVE_EVENT_TRACKER_HTTP_ENDPOINT = "https://trillion.toss.im/trk/sdk-mediation/event";
|
|
48260
48024
|
INTEGRATED_AD_SDK_VERSION = "0.0.0";
|
|
48261
|
-
ANDROID_INTEGRATED_AD_SUPPORTED_VERSION = "5.
|
|
48262
|
-
IOS_INTEGRATED_AD_SUPPORTED_VERSION = "5.
|
|
48025
|
+
ANDROID_INTEGRATED_AD_SUPPORTED_VERSION = "5.244.1";
|
|
48026
|
+
IOS_INTEGRATED_AD_SUPPORTED_VERSION = "5.244.1";
|
|
48263
48027
|
UNSUPPORTED_ERROR_MESSAGE22 = "This feature is not supported in the current environment";
|
|
48264
48028
|
INTG_AD_ADM_FALLBACK_RID_MAP = {};
|
|
48265
48029
|
loadFullScreenAd = generateLoadFullScreenAd("107");
|