Questions
Android - Uses Webview or PWA (Progressive Web App)
Hello,
Is the Android compiled version of the app uses a Webview or is it installing as a PWA?
Thanks
Posted by Daniel 2 days ago
Bug in sample code for Social Login
The page <https://median.dev/social-login/redirect-demo/> has a syntax error that's likely caused by a search & replace from gonative to "median.co". The error is clear in the console when you load the page. It's on line 146 of the source:
```javascript
const isMedian.co = navigator.userAgent.indexOf("gonative") >= 0;
```
The variable should just be "isMedian" as it's used that way in the subsequent code.
Posted by Justin Ashworth 3 days ago
[Status bar] - Query on focring dark mode to be light mode.
Hello,
My setting in the go native dashboard is
Interface - Darkmode - folder
<https://drive.google.com/file/d/1Tr_Zam17ErJGuo8iNiU8B1eyANztTXTu/view?usp=share_link>
this is forced to be Light mode always.
But in Android phone, though I am facing the mode to light mode, my app gives grey status bar in light mode and black status bar in dark mode.
Can you please guide me here.
Thanks
Posted by Champa 4 days ago
Migrate from gonative to median
Hi!
I would like to know if the apps created with gonative is gonna have support and still runs or do I need to migrate all my stuff to use median now?
Thank you,
Jose
Posted by Jose 4 days ago
I am building a test app with go native.
converting a website to APK with go native and everything works fine in the sample build it all loads but when I click any of my sites button nothing loads at all takes like 2 or 3 presses and sometimes I get internet errors is there a fix for this? Sometimes the buttons won't even press at all they work on the web version of Android.
Posted by Mark Hiltermann 5 days ago
App crash latest android build Onesignal tagsUI
In latest Android build, trying to open gonative://onesignal/showTagsUI results in crash. Can be tested with same result in browser simulator as well.
Tried to get crash log but Android Studio build fails with following error when trying to build it for the android simulator or install on external device:
Execution failed for task ':app:processNormalDebugGoogleServices'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:142)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:140)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:327)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:314)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:307)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:293)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:417)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:339)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
Caused by: org.gradle.api.GradleException: No matching client found for package name 'com.**\_**.app.debug'
Posted by Vancanneyt Sander 5 days ago
Auto rotate
So i see that the app has this fixed screen orientation. On Android and iOS there is this option to have screen rotation fixed where a bauble appear that you can press to rotate the app screen. Is there an option to have it auto rotate but also include this build in feature where people who have no auto rotate on on their phone get the pop up instead?
Posted by voidtf 7 days ago
ios safe area
I have a project where I want to keep the status bar on ios as overflow but i want to move everything below the status bar. Does gonative have anything which allows us to add safe area padding. I tried css env variables with meta tag but didnt work.
Posted by Zeeshan Hameed 8 days ago
JS trouble
Hello. There is a script on my website that processes the user's voice question and inserts it into the required field. It works in browsers. But in the application itself, for some reason, it doesn’t. What could be the problem. I don't have access to the logs.
Posted by Nik 8 days ago
One signal integration with go native
We do have a licensed version of our app via gonative. We have integrated one signal to the dashboard.
When we download the source code, we do get the onesignal plugin integrated to both android and iOS.
Push notifications are working through one signal.
But in Android, I see an issue
- When we send more than 1 notification to the device, the device receives it.
- Clicking on one notification is clearing all the other notifications that has come in
Can you please help us here ?
Thanks
Posted by Sushma 8 days ago