how to create browser view for larval backend admin panel - android

how to create browser view for larval backend admin panel ..currently app is working fine so help on creating website access from browser
backend is setup on domain and same is accessed by android app via api now i have to enable browser view for frontend on desktop which will give second option for customer to access products
Solution tried:
To access same content of android app via html but not working

Related

Coinbase oauth2 login with flutter on android. Custom android uri schemes are blocked by chrome

I want to login using coinbase oauth2 in my flutter app android and ios .I use flutter_web_auth package , the authentication is stuck on processing for android(all the android native code and coinbase API setup is correct) and works well for ios .Below is the link for more details .
https://github.com/LinusU/flutter_web_auth/issues/83
I tried below link in android 10, chrome browser it is stuck on processing page ,
https://www.coinbase.com/oauth/authorize?response_type=code&client_id=your_client_is&redirect_uri=your_redirect_uri ,but the same link works well in laptop
when i inspect the chrome browser of android phone it gives below error (works well on firefox mobile browser though)
jquery-cb0decd18b4b0abbece3cfc180d9adc8e11dfa693cf34c2ff1ffcda86e725301.js:2 Mixed Content: The page at 'https://www.coinbase.com/oauth/authorize' was loaded over a secure connection, but contains a form that targets an insecure endpoint 'my.myapp.app://myapp-oauth'. This endpoint should be made available over a secure connection.
jquery-cb0decd18b4b0abbece3cfc180d9adc8e11dfa693cf34c2ff1ffcda86e725301.js:2 Mixed Content: The page at 'https://www.coinbase.com/oauth/authorize' was loaded over a secure connection, but contains a form that targets an insecure endpoint 'my.myapp.app://myapp-oauth/'. This endpoint should be made available over a secure connection.
trigger # jquery-cb0decd18b4b0abbece3cfc180d9adc8e11dfa693cf34c2ff1ffcda86e725301.js:2
authorize:1
Navigation is blocked: my.myapp.app://myapp-oauth?code=1cbfd2f26d220a5fda629f6dc75b0ea6c7281c946863452be4415ca04dbea5c6&state=alcmwppxlk9p5k3wbbxyv5t4a

Connect an Android device to a web app that is open in my desktop browser

I've been looking all over the place to try to figure out a way to send information from a web page that is open on my desktop browser to an Android device. I am trying to do this because the web page is like a code interpreter and I want to send the written code from the web page an Android app that I am working on. So the web page is like an IDE and the Android app is also an IDE but I'm making the web app to make typing easier and the user can just send the code to the Android app from the web page.
I could not get the web Bluetooth to see my android device Nokia 6 web Bluetooth example, web sockets do not seem like the right way to do it. Maybe there is a way to connect through local IP address?
Also there cannot be any communication with a server. it has to be from web page client directly to the android device.
I'm not too sure on how to go about this, any advice is greatly appreciated thank you for your time

Show select certificate dialog in webview

I'm using webview in my app to load authentication form in a Microsoft Azure website.
When loading the same website using Chrome or Samsung Internet app, a popup shows that allows me to select and approve certificate.
How can I implement the same thing using webview.

Open an Android app from a web browser

I'm opening an app from a web browser in android and I can't seem to find the way to open this app outside the browser itself. I mean, the app opens inside the browser. I've tried both of these ways:
1) intent://pinnacle.androidApp/#Intent;scheme=launch package=my.androidApp;S.content=WebContent;end
2) my.androidapp://cb
What's the proper way to do this in order to open the app outside the browser?
Thanks in advance.
UPDATE:
My app consists of a native android app with a web view that loads an angular web app. I think that the web browser is opening the web app instead of redirecting back to the android app with the web view.
It goes as follows:
The user opens an android app with a web view that loads an angular web app. Then the user is supposed to log in. Due to some recent changes that google implemented, I can't log in with google from a web view, so I have to open a web browser, log in and go back to the android app. This latter thing is the actual problem. It only works properly if the browser that I use is chrome.
I can't use android to log in because I'm using custom authentication as well to provide access to other web services.
Register a URI scheme for your app and launch it by calling the URI somewhere as a link in your web page. This works 100%.

Facebook In App web browser clears my browser cookies after 2-3 days

I have articles which are posted on Facebook for our subscribers and when a user clicks in one of the links they get re-directed to a mobile-site where they login, the problem is now after a a few days 2-3 days the mobile site asks them to authenticate again.
Im guessing Facebook in app browser clears my cookies but what i need to know is how does it manage its cookies especially for external sites. I tried the Facebook developer website there's no documentation on how this in app webview/browser works.
Background Info
Facebook in app browser is rather a webview which renders all the links which user's browse so instead of delegating the rendering to an external browser it handles everything on its own. This comes with limited functionality of course, Facebook added this in app browsing functionality to keep user's in session, because most of the time if user's make use of external browsers they don't come back into the app.
With the above background information Facebook browser is accessible to developer's in a sense that they may choose to use Deep-Linking if the browser doesn't conform to their specifications because the browser is closed i.e you can not modify or rather interact with it, thats why the deep linking functionality allows for developers to give user's an option to choose wether they wish to use their app this is if they have it installed in their mobile devices.
Cookies
Cookie management entirely depends on the In-app browser which if a user wishes to clear them then they can do so via their app settings. Since Facebook in-app browser manages its own cookies thus if a webpage is rendered by the in-app browser it will entirely depend of the in-app browser if its time to clear them from the device.
Deep Linking Overview
App Links is an open standard to deep link to content in your app. When someone using your app shares content to Facebook or another App Links-enabled app you can create a link that makes it possible to jump back into your app from that piece of content.
App Links work by adding metadata to existing URLs on the web so that they can be consumed by your app. If your app doesn't have a web presence with content you can annotate, you can also use a Facebook-provided service to host the data.
The Facebook's app for iOS and Android support App Links today. When the Facebook app comes across a link that supports App Links it will launch your app with the right information so someone can see the content immediately and quickly.
How App Linking Works
A person clicks on a story on Facebook
If someone shares a story on Facebook with content from your app, people can click on the story to view the content in your app. The URL shared to Facebook contains App Link metadata or be a Facebook-hosted URL.
Facebook app looks up the URL to see if it supports App Links
Once someone clicks on a story, the Facebook App does a lookup to see if the content supports App Links. if it does, the Facebook App takes people to your content, either in a web view or by launching your app and linking to the content, depending on the following criteria:
Whether people have your app installed
Whether the device is and Android or iOS device
Whether your app is mobile only
App Links has the following requirements:
If the content is a web page, your web page must include markup to let the app know what app should be launched.
If the content is mobile only, you must still supply a valid http(s) URL that hosts the App Link metadata. Facebook provides a Hosting API for App Links to make it easy for app developers to support App Links content without having to set up a web server.
In order to accept incoming App Links, your app will need to be set up to support them. We cover how to do that for both iOS and Android.
Launching Outbound Apps
It's possible for any app to do what the Facebook app does and add support to launch other apps based on App Links. If you've got an app where people want to click through to links instead of just going to inbound links, we've also provided a document that covers how to add support for the outbound navigation protocolto your app.

Categories

Resources