ANSWERED

JavaScript Bridge OneSignalDeviceInfo Not Working on Android

We are using the javascript bridge in our application, not the NPM package, to get the deviceinfo to update the external id within onesignal. This works perfectly for iOS but not Android. Testing is being done via the Meidan Simulator. ``` if(window.median) function median_onesignal_info(oneSignalInfo) { if(oneSignalInfo.externalId == undefined){ median.onesignal.externalUserId.set({ externalId: "#####" }); } } } ``` I've even added an alert within window.median before the median_onesignal_info function which never gets called/reached on Android. Again, everything works on iOS. Please help.
ANSWERED

Location is not turned on

Greetings, I tried to convert my PWA into. APK on your site. The app should get the current position of the user. It works fine on the web. But on Android phones, it asks the user for permission then when user allows it, the location services does not open and position is not returned. API used is navigator.geolocation.getcurrentposition(). Website is https. It works fine on web either on desktops or Android browsers.
ANSWERED

My app is only crashing on IOS simulator.

I cant seem to track down this issue. The only thing i have changed is the branding images. would this be the issue? 2024-08-23 18:13:03.764662+0200 Median[74107:3041717] **_ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull boolValue]\: unrecognized selector sent to instance 0x104610590' _** First throw call stack: ( 0 CoreFoundation 0x0000000104389128 **exceptionPreprocess + 172 1 libobjc.A.dylib 0x000000010176012c objc_exception_throw + 56 2 CoreFoundation 0x000000010439df78 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0 3 CoreFoundation 0x000000010438d278 _**forwarding**\_ + 1280 4 CoreFoundation 0x000000010438f59c \_CF_forwarding_prep_0 + 92 5 GoNativeCore 0x000000010042a0a0 -[GoNativeAppConfig processConfig] + 30416 6 GoNativeCore 0x000000010042297c -[GoNativeAppConfig setupFromJsonFiles] + 624 7 GoNativeCore 0x00000001004226c8 +[GoNativeAppConfig sharedAppConfig] + 156 8 Median 0x000000010029a **_ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull boolValue]\: unrecognized selector sent to instance 0x104610590' _** First throw call stack: ( 0 CoreFoundation 0x0000000104389128 **exceptionPreprocess + 172 1 libobjc.A.dylib 0x000000010176012c objc_exception_throw + 56 2 CoreFoundation 0x000000010439df78 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0 3 CoreFoundation 0x000000010438d278 \*\*\_forwarding_** + 1280 4 CoreFoundation 0x000000010438f59c \_CF_forwarding_prep_0 + 92 5 GoNativeCore 0x000000010042a0a0 -[GoNativeAppConfig processConfig] + 30416 6 GoNativeCore 0x000000010042297c -[GoNativeAppConfig setupFromJsonFiles] + 624 7 GoNativeCore 0x00000001004226c8 +[GoNativeAppConfig sharedAppConfig] + 156 8 Median 0x000000010029a3a4 -[LEANRootViewController awakeFromNib] + 68 9 UIKitCore 0x000000012e4e2ea4 -[UINib instantiateWithOwner:options:] + 1748 10 UIKitCore 0x000000012ea4e308 -[UIStoryboard __reallyInstantiateViewControllerWithIdentifier:creator:storyboardSegueTemplate:sender:] + 232 11 UIKitCore 0x000000012ea4e1e4 -[UIStoryboard _instantiateViewControllerWithIdentifier:creator:storyboardSegueTemplate:sender:] + 76 12 UIKitCore 0x000000012e8cc90c -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 136 13 UIKitCore 0x000000012e8ccd1c -[UIApplication _loadMainInterfaceFile] + 152 14 UIKitCore 0x000000012e8cbbd4 -[UIApplication _runWithMainScene:transitionContext:completion:] + 688 15 UIKitCore 0x000000012df797f4 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 104 16 UIKitCore 0x000000012e4915ec \_UIScenePerformActionsWithLifecycleActionMask + 96 17 UIKitCore 0x000000012df7a0f4 **101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]\_block_invoke + 188 18 UIKitCore 0x000000012df79c68 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 212 19 UIKitCore 0x000000012df79f4c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 576 20 UIKitCore 0x000000012df79950 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 244 21 UIKitCore 0x000000012df83c24 **186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]\_blo 22 UIKitCore 0x000000012e39257c +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 656 23 UIKitCore 0x000000012e4a77a0 \_UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 196 24 UIKitCore 0x000000012df83930 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 288 25 UIKitCore 0x000000012dde1338 **64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]\_block_invoke.198 + 608 26 UIKitCore 0x000000012dde00e8 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 208 27 UIKitCore 0x000000012dde0fbc -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 220 28 UIKitCore 0x000000012e8ca9ac -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 484 29 UIKitCore 0x000000012e3b9cc4 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 260 30 FrontBoardServices 0x0000000107958190 -[FBSScene _callOutQueue_didCreateWithTransitionContext:completion:] + 296 31 FrontBoardServices 0x00000001079813d4 **92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]\_block_invoke.82 + 224 32 FrontBoardServices 0x0000000107964d6c -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 160 33 FrontBoardServices 0x000000010798114c **92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]\_block_invoke + 284 34 libdispatch.dylib 0x00000001038dfd3c \_dispatch_client_callout + 16 35 libdispatch.dylib 0x00000001038e3c4c \_dispatch_block_invoke_direct + 376 36 FrontBoardServices 0x00000001079a4b24 **FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK** + 44 37 FrontBoardServices 0x00000001079a4a00 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 196 38 FrontBoardServices 0x00000001079a4b58 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 24 39 CoreFoundation 0x00000001042e9f18 **CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION** + 24 40 CoreFoundation 0x00000001042e9e60 **CFRunLoopDoSource0 + 172 41 CoreFoundation 0x00000001042e95d0 **CFRunLoopDoSources0 + 232 42 CoreFoundation 0x00000001042e3cb8 \*\*CFRunLoopRun + 768 43 CoreFoundation 0x00000001042e35a4 CFRunLoopRunSpecific + 572 44 GraphicsServices 0x0000000106febae4 GSEventRunModal + 160 45 UIKitCore 0x000000012e8c92e4 -[UIApplication _run] + 868 46 UIKitCore 0x000000012e8ccf5c UIApplicationMain + 124 47 Median 0x000000010029e5ac main + 412 48 dyld 0x00000001005a5544 start_sim + 20 49 ??? 0x00000001004b1f28 0x0 + 4299890472 50 ??? 0xac5b000000000000 0x0 + 12419520397404274688 ) libc++abi: terminating due to uncaught exception of type NSException co.median.ios.wjdrpj: 74107
ANSWERED

IOS only crash

Hello, We are having an issue only on iOS where the app crashes on launch. In Appetize, we can see it's giving the error "2024-08-22 14:36:51.302812-0700 Median[67887:4303791] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")" We are unsure what's causing this. We restored to a previous median backup and are still getting the same crash. The crash does not happen on Android. Thank you,
ANSWERED

How to Hide/show Bottom Tab Bar Screen rotation

How to Hide Bottom Tab Bar When Screen Rotate Landscape and Show Bottom Tab Bar When Screen Rotate Portrait
ANSWERED

Website is already secured by Auth0, do we have to purchase the plugin?

The website we are attempting to set up in Median is already secured by Auth0. I am having trouble signing, it's kind of working, but I am seeing some odd errors. Do we have to purchase the Auth0 plugin if we have Auth0 set up on our site already? If we do purchase the Auth0 plugin, how does that work seamlessly with the website to keep the website from forcing sign in? I'm confused how the plugin and the web will work smoothly together.
ANSWERED

New Release does not support as many devices

![](https://files.readme.io/d830eeb-image.png) This is my first time rebuilding since our app was deployed in January. I saw that a lot of devices are no longer supported. Is this any cause for concern or is this expected as the framework gets developed and older devices are deprecated?
ANSWERED

Redirects inside mobile app

Hi! I have questions related to redirect to other domains 1. When my user loads the app, I need to check their language and redirect to slightly different website, so first start url would be different than the url of the target website\*\*. Can I do this inside median? 2. Will this work correctly with Deep Links settings? \*\* In a current tech stack I can't change database connection on the fly by depending on Accept-Language header, so I suppose I need some "middleware app" that make this redirects to different websites depending on Accept-Language header
ANSWERED

Custom Icons from Website Glyph WebFont

Hello, Is it possible to use custom icons embedded on the website (exported via Fontello and integrated via a font-face css declaration) rather than embedded in the app (like documented in Median Docs), so to prevent republishing an app version only to change or add a new icon ? Best regards, Antoine
ANSWERED

Can I hide the status bar on scroll?

[block:image] { "images": [ { "image": [ "https://cdsassets.apple.com/live/7WUAS350/images/ios/ios-17-iphone-15-pro-status-bar-mic-in-use.png", "", "iphone status bar" ], "align": "center" } ] } [/block]