Why is metamask deep link breaking ui in iphone mobile browser? - ios

I have developed my dapp in react js. I used a metamask generated deep link to connect metamask mobile app from mobile browser.
window.location.replace(metamask_generated_link);
It is working fine in desktop browser and android but not in ios. So whenever I try to connect from iphone, sometime the deep link popup doesn't appear (1/10th time) and when it appears and if I don't choose metamask from the popup option and cancel the pop, ui of connect button breaks. I am struggling to understand the reason.
It has nothing to do with connecting metamask, only issue is launching the app.
How would I solve it?

Related

Deep Links not redirecting to App when using iOS

We set up universal links that work on android but don’t work on iOS when using Safari as the main browser. However, when we tested on Chrome it did work. Is this a known issue

phonegap app extremely slow to load website on ios

I have a phonegap app that opens a website using window.open(). While it works fine in testing, when I compile the app and install it on an iPhone using TestFlight it can take anywhere from 1 minute to 15 minutes to open the website. When it does everything works fine. The app store review is rejecting it because of the delay. What can I check to identify the cause of this delay?
Use remote debugging with an iOS device (or a simulator). This will allow you to see error's log like debugging a web site.
See "Safari in iOS" in : https://developer.apple.com/library/content/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/GettingStarted/GettingStarted.html
Open the Settings app.
Tap Safari.
Scroll down and select Advanced.
Switch Web Inspector to ON.
After Web Inspector is enabled, connect your device to your desktop machine with a USB cable. The name of your device appears in the Develop menu of Safari.
Also, depending of what you want to do, I suggest you, instead of using window.open, to use the cordova-plugin-inappbrowser plugin to open link in the browser (outside the webview of Cordova/Phonegap)

Interact with app launched from browser

I have an iOS app that must be launched from the safari via URL scheme. And I want to test it with Appium.
I managed to launch the safari and then click on the link that launches the app. The problem is, I am having trouble interacting with said app afterwards. Is it possible with Appium and iOS to send commands to an app that was launched from the browser?
You should be able to interact with safari using something like this
driver.FindElementByXPath("//UIATextField[#value='Enter URL']")
.SendKeys("www.google.com");

Get access to console in Sencha Touch app running on iPhone

I want to use console.time('a') and console.timeEnd('a') in my Sencha Touch iOS app. This functions prinnt measured time in microseconds on console.
How to get access to console while I'm running my app on iPhone?
I tried with Safari Remote Web Inspector (like Phonegap iOS Safari debug workflow), but it doesn't work. It give me access to index.html, and Web Inspector opens correctly, but all his tabs are empty including console tab.
(I tried used Safari Remote Web Inspector with PhoneGap and it works correctly)
EDIT:
I don't use Xcode, becouse I am building my app with Sencha Cmd. And I do not want to change that, because I am testing Sencha Touch performance without PhoneGap.
There is a cordova plugin which you can use to see the output of console in XCode.

Google Plus sharing not working in mobile Safari

I was implemented Google sharing feature one of my app and it was working fine. But suddenly it stopped working giving below error on Safari. It was sharing feature not using native dialog box in G+.

Resources