Xamarin Android - Javascript not loading in WebView when using Xamarin.Auth - javascript

I am having a really strange issue with a single user when using Xamarin.Auth for authentication. This user has a Samsung Galaxy S3. When they try to sign in to their account using Xamarin.Auth, the WebView which Xamarin.Auth uses to display the login page has no JavaScript enabled. This means that they are unable to click the sign-in button on the page, preventing them from signing in.
I can provide code examples, however they do not differ much from the Xamarin.Auth examples/docs. Also, This issue is particular to this user in that I have tested my app with another Galaxy S3 and the authentication works as expected.
I am really unsure as to how to debug this issue, any help would be appreciated.
https://components.xamarin.com/view/xamarin.auth

Related

How can i authenticate a website using Javascript or php instead of using browsers native prompt

I am not a professional developer and acquire little knowledge and stuck with a this problem from very long time.
Problem:
Instead of using browser's native login prompt, I would want user to use my login page to authenticate the site and directly open that site.
(it should not ask user again for credentials by opening browser's native login prompt)
Using javascript, I used simple url authentication like http://username:password#subdomain.maindomain.com , but this only works for Chrome.
Is there any work around that will work with all the other browser specially with Internet Explorer?
Any solution with javascript, jquery or even in php would be fine.
Any help would be appreciated...Thanks

is there an iOS counterpart of intent-filter in android?

I am developing an app that sends a verification link via email. When the link in email is clicked, user should be prompted to open the iOS app if it is installed. Otherwise, it will direct to Safari browser for its website app counterpart. In android app, I was able to do this since there is the intent-filter feature in android development. Also, as much as possible, I am avoiding in iOS to redirect to the browser, and open the website, wait for it to load, then open the iOS app installed since it will be costly for the user to wait for the website to load. So the javascript workaround solution is my least option to do.
So I was wondering if there is an iOS counterpart of intent-filter. Or any workaround/implementation would be appreciated.
P.S. I am a newbie here in stackoverflow so go easy on me. thanks :))

How do I parse data from a website that requires a login using javascript? (For a Pebble app)

I want to make an app for the Pebble that allows checking of grades from the watch, but I don't know how to use JavaScript to parse the grades website. What is the best way to do this?
I'm not sure about this site, but I've got the traditional user:password#yoursite.com to work via the cloudpebble emulator. Issues are your password is in clear text, and I've not got around the iPhone security prompt as iPhone requires user intervention. This is to prevent phishing fraud. Android may be a different story.

Dropbox choose button return error message

I have developed an IOS app using PhoneGap and need to integrate Dropbox . I am using Cordova 3.1.0 under IOS 7.1.2 .
From my phonegap app I launch InAppBrowser and point it to my server page that has the js API for the chooser dropin, this launches fine and if the user is not logged into Dropbox they are asked to login as expected. Once logged in the users files are displayed, so I think everything is good with my app key etc.
The problem occurs when the user selects a file and clicks the choose button. I got the message: "Unable to close this window. Please close it manually and return to the previous site."
I was wondering if anyone else has experienced this issue, or has any advice for implementation.
(almost the same issue as :
Dropbox choose button does not return in ios8 - But with IOS7)
It appears to me that PhoneGap's InAppBrowser doesn't support window.close. It might be possible for you to inject some JavaScript via your app that provides an implementation for window.close, or you might need to use the native browser instead of an embedded one.

Dropbox choose button does not return in ios8

I have developed an app using PhoneGap and need to integrate Dropbox for my users. I am currently using Cordova 2.9.
I have been unsuccessful in using the chooser dropin. Here is a brief explanation of what is going on...
From my phone gap app I launch InAppBrowser and point it to my server page that has the js API for the chooser dropin, this launches fine and if the user is not logged into Dropbox they are asked to login as expected. Once logged in the users files are displayed, so I think everything is good with my app key etc.
The problem occurs when the user selects a file and clicks the choose button. Nothing occurs, it seems like the success callback is never called. I have only noticed this when testing on an actual device running iOS8.
I have tried calling alert in the success callback and nothing happens, the chooser stays open. The cancel button also does not work in this scenario.
I was wondering if anyone else has experienced this issue, or has any advice for implementation.
Assuming that your implementation does work in iOS 7, this is likely this known issue:
https://forums.dropbox.com/topic.php?id=120846
Unfortunately, this is due to a bug in iOS 8, so it's up to Apple to fix.

Categories