How to disable Google QR scanner wizard in the unity SDK - unity3d

In my app i have noticed that in each installation, a screen by google pops up after launch and request access to the camera to scan the QR code of the cardboard.
Is there a way to programmatically disable this wizard?

In the Cardboard.cs and BaseVRDevice scripts there are functions by the name of ShowSettingsDialog, LaunchSettingsDialog, and in the case of ios, LaunchOnBoardingDialog. These are the functions that call the opening of the scanner. I commented them out from being called in their scripts and called them on my own when the user wants to pair with cardboard.

Related

Ionic capacitor hybrid mobile application

I want to create a hybrid mobile app using ionic capacitor. When user logs in the app should open the main angular app in a hidden webview to initialize the angular app. The webview should be hidden for this time. After this when a user clicks on any links in mobile app, it should open in the webview and this time the webview should be displayed. The webview should open in the app container and not in the browser window (like InApp browser). Please help me if anybody have explored this kind of solutions.
My existing app is built using Xamarin and its built on the above concept.
I have tried the InApp browser but it does not give a good impression to the end user expecting a complete mobile app.
What you want to do is more or less possible if I've understood you well. I've done it in my job. We have a ionic app, but then there are some native screens developed natively for Android (with Java) and iOS (with Swift). With ionic you can call native code from Javascript. For that you need to make your own local Capacitor plugin: https://capacitorjs.com/docs/plugins/creating-plugins
In a plugin, the ionic Javascript function will trigger a native function (Java/Kotlin for Android - Swift/ObjectiveC for iOS). Once there, you can freely create native screens (Android = Activity, iOS = Storyboard/Controller) and then launch your native screens in the app. In our project most of the app is ionic, but we developed our own native screens such as a PDF Viewer, a Web browser, a QR scanner, etc.
But an app is not like a website, an app is a stack of screens. Which means that everytime you access a new screen, it's added to the top of the stack and the user can go back to the previous one. So, ionic will launch first. Inmediately after starting the app (or whenever you want) you can move the user to a native (android/ios) screen. However, if the user presses the native android back button, he will come back to ionic. If you want to prevent that, you need to code that behavior yourself (google android prevent back button). Likewise, you "can't" make the user go from the native screen to ionic, you can bring him back to ionic by navigating back programmatically.
Perhaps you can also change the launch activity to use a different one, and then later launch the ionic activity with native code. But I haven't done this myself and it could break ionic, so I can't advice you through this path.
I hope my answer helps, but I'm not sure I understood what you want to accomplish.

How to use QR code scan to check if the app is installed or not ? and redirect in flutter

I'm trying to design an application using Flutter framework where i need two features using QR Code scanner. Features as follows,
If the app is installed QR code scanner (when scanning from the app it self) should open a url link in browser (within the app is self)
If the app is not installed scanning the QR code from device it self should take the user to play/app store or to a website.
how can i achieve this using flutter and dart? any sample workout will be more than helpful.
You need to use Firebase Dynamic Links or a similar service.
FDL allows you to do exactly what you want.
Basically you specify an app identifier in the console, then in your app's info.plist + manifest.xml you specify the domain you used for the link generation.
The way it works is FDL will try to open the link locally on the device, if the app is already installed then it will launch the app, otherwise you can decide to redirect to a specified URL or to the platform app store and open your app page.

Detect window closing action flutter desktop

I am working on flutter desktop application and want to show alert dialog before closing window. Could not get any information about detecting window closing action.
Can anyone tell me how to do this. Thankx.
You can do it using the existing flutter_window_close package. Check out the example here.
This plugin lets your Flutter app a chance to confirm if the user wants to close your app. It works on desktop platforms including Windows, macOS and Linux.
Try to explore as well bitsdojo_window.

Is it possible to add to a Unity project (built for WebGL) an embedded in-app web browser?

The motivation is to allow the user not to leave the app when pressing a link and opening it as an embedded window.
You can use Unity as a library in native apps

IBM Worklight 6.0 - QR Code does not work

I am trying to open hybrid app in my iphone, so the best option for me is scan in a QR code that I can save time to input long URL. But what makes me so upset is that the icon fails to open in a new pop-up window, accordingly, I can't scan it.
I am not sure if the the IE or chrome safety option causing that, or it's Dojo bug.
This is QR code icon that I can't open:
Following the below steps, I havel successfully used the QR code from the Worklight Console's MBS preview page to preview the environment's web resources in the device's mobile browser:
Pre-requisite: I have installed on my iPhone 5s the following app: QR Reader for iPhone (you can install any other QR reader app you'd like)
Created a new project and application
Added the iPhone environment
Built and deployed the app
Previewed the environment in Worklight Console
Must: Edited the IP/Hostname field of the QR code:
Scanned the QR code