Comments (7)
@triniwiz I think I might have figured out what is going on though I'm not sure exactly why. To recap:
- I use an OAuth flow that ultimately redirects back to a custom scheme that is supposed to be captured by an intent setup on my app
- During the OAuth flow, if I have to log into the provider (i.e., Facebook), the redirect works as it did in version 2.0.0.
- If I am already logged in, the redirects (302) happen without any user interaction. I can see in logcat that the intent is triggered
- If I restart my app, it will immediately pick up the intent
I think ultimately, my app is being sent to the background. Upon research, I ran across this:
https://stackoverflow.com/a/38494130/62686
I looked at your fancy webview repo and it doesn't appear to call the warmup function. Is this something straightforward to add?
from nativescript-advanced-webview.
@vtjon it opens a webview if if device does not have google chrome installed
from nativescript-advanced-webview.
I think I got lazy with my wording. I meant Chrome Custom Tabs for the OAuth login flow. It works again when I go back to version 2.0.0. Chrome is installed. I will say, it does look different though like it defaulted to a webview for some reason (i.e., no URL bar or close X). I just tried to open https://www.google.com and it opens in the Chrome version. It must be switching over to a webview during the redirect cycle.
from nativescript-advanced-webview.
It seems like it worked this time. Maybe I had the old AAR file or something. I will reopen if it happens.
from nativescript-advanced-webview.
I had this similar issue. I set up a fresh webview plugin myself that uses Chrome Custom Tabs. You can try this https://www.npmjs.com/package/nativescript-awesome-webview till the issue is not fixed on this repo
from nativescript-advanced-webview.
@vtjon it should itβs set to true in the init
from nativescript-advanced-webview.
@vtjon can you try this other option? https://github.com/proyecto26/nativescript-inappbrowser
Let me know π
from nativescript-advanced-webview.
Related Issues (20)
- Execution failed for task ':app:processDebugResources' HOT 7
- Fatal Crash on Android running NativeScript 4 HOT 1
- Not working on android HOT 4
- The app is not built since I installed the plugin HOT 3
- Breaks build on Android HOT 14
- pass data via URL HOT 4
- Android: co.fitcom.fancywebview.AdvancedWebViewListener is not defined HOT 1
- 'error' [TypeError: null is not an object (evaluating 'app.keyWindow')] HOT 3
- Does not Work when app is Released
- How to hide toolbar HOT 1
- How to get current URL or HTML? HOT 1
- android.content.ActivityNotFoundException: No Activity found to handle Intent HOT 1
- object dump on init (nativescript angular)
- nativescript-advanced-webview not compatible with latest NativeScript 6 HOT 21
- Error: java.lang.NoSuchMethodError: no static method "Landroid/view/View;.setPadding(IIII)V" HOT 5
- WebPage Not Available Issue
- Changed the links to Nativescript Core Packages to work with NS-8
- Not loading on iOS 15 HOT 7
- Does not work with Angular on iOS HOT 3
- Angular - IOS platform missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-advanced-webview.