I am using dropbox for distributing my addhoc builds over the air.Till last week it was working all fine.From this week the html page does not open in safari browser in iphone. Instead it is showing following message
One more thing i would like to mention is i have an app called iZip installed on my test device.So open with iZip option pops up for opening it in iZip,but when I do that the html file loads fine.I searched for this issue but didn't found any solution yet.I also found out that since iOS 9 apple has made changes in opening url schemes.So would that be a problem or some more additional things we need to add.I am testing this on iOS8 and iOS9
I just found out a sad news from this url Discontinuing rendering of HTML content
that dropbox has dropped the support of rendering html file content in browser.So have to look for another way to deploy my build over the air.
Update 1
I have found workaround in which HTML page wont be rendered but still your build will get downloaded successfully.So here is what we have to do now
In our html file we have code like this
itms-services://?action=download-manifest&url=https://dl.dropboxusercontent.com/s/9pj4sds3r9k4nlmn/testApp.plist
copy whole thing and paste it in web browser,pop up will appear saying "Open this page in App Store"? just say open and after 4-5 second another pop up saying "dl.dropboxusercontent.com would like to instal .app" so click install and build will get installed.
I think the URL your are using in your browser is the URL to download the HTML file ( due to dl.dropbox ... )
You should find an other url that let user display it ( look for share link )
Related
I am trying to get Firebase Dynamic links that I have integrated on my ios app to open. Following the youtube tutorial (https://www.youtube.com/watch?v=KLBjAg6HvG0) I have downloaded my app onto my phone from Xcode. When I try to open up the link I automatically get redirected into safari browser and I'm presented with this image.
https://imgur.com/a/e6AJMhj
The tutorial runs threw several things that could be the reason for my link not opening up my app
Make sure to have the correct URL in the Associated Domain Setting which I do. https://imgur.com/a/lJExtjU
Check and make sure that you have the correct App ID prefix entered in the console which is true because Xcode verifies that. https://imgur.com/a/LVytoni
Universal link for the domain was disabled because I opened it in Safari and I have to now long press on the link and open it in the app. Now heres the problem.
In mail app, imessages app, and notes app all dont have an option to "Open in .
Mail (https://imgur.com/a/Pz81IqN), iMessages (https://imgur.com/a/2ykChUM), and Notes app (https://imgur.com/a/lwoejEH).
Even referencing these guides I am unable to solve my problem (Universal Links iOS) (Universal Links not working on iOS10)
Check to make sure the apple-app-association file in created which it is and it shows that #2's image.
I have exhausted all options and googling for answers is now getting me nowhere. I need help on how to get my Universal Link working again.
It helps if applinks is not spelled "applink" in the Info.plist associated domains.
I am working on an app where I deploy the .ipa file and manifest.plist on my server and from there I try to install the app to my iphone.
The app is initially installed but I need to check if a latest version is available on the server. I have done this part and now wish to install the latest .ipa from the server directly to my phone without redirecting user to the html page of the server
Found some links on stack overflow, especially this:
Download and install an ipa from url on iOS
I have done this:
let endPointURL = NSURL(string: "itms-services://?action=download-manifest&url=myUrlString")
UIApplication.sharedApplication().openURL(endPointURL!)
I get unsupported URL exception. Can anyone tell me how I can achieve this? Is there any other way to directly start installing the upgrade without navigating to the actual html page?
It's just for testing purpose. Only registered devices are allowed to do this.
Only single way is there to download your app and its app store. You can give app store link and it will redirect user to appstore.
And if you want to test just use test flight it's easiest way.
Your linked question also tells that. Just for testing purpose it's possible now.
I found this same issue before.
A workaround for this is to new up a webview (you can hide it if you wish) and then give the request to the webview to perform. When the request loads you will then be shown the popup asking if you wish to download the app.
I can't seem to find an answer to this seemingly simple question. I have an app that i've built using the command line phonegap tools and when i start this app it opens up. i am using something called ios_sim (https://github.com/phonegap/ios-sim) which launches the app in the simulator and does not launch xCode (i don't quite understand why this is a feature, it seems like xCode has some useful tools)
Anyhow, my app is not functioning the same way that it does in the browser and i need to debug it. I have also already installed Charles to inspect the requests and i can verify that the correct data is coming from my API so my assumption is that there is some sort of javascript error in rendering the page (the page is partially rendered btw).
All i want to do is view the javascript errors. the same way that you would in the console if you were looking at a web page.
how do you do that?
You have to use Safari Remote Debugging with Web Inspector. See in the relating cordova docs how to do that!
I am developping a mobile application using Cordova. This application allows users to navigate in a kind of a file manager and allows them to download files. I use the plugin "FileTransfer" to download the file on the user's device and then call the InAppBrowser (version 0.5.2) plugin in order to open it.
While it works really great under Android, I can't say the same under iOS (tested under versions 7 and 8).
This is the line of code I use to open the downloaded file:
window.open(entry.toURL(), "_system");
Under Android, it proposes the user which application he wants to launch to open the file or launches automatically the default application based on the file extension. Under iOS, the file is downloaded and then nothing happens. I have found out I could use the integrated viewer of the InAppBrowser plugin when the user is under iOS. I do that in this way:
if (navigator.userAgent.match(/iPhone|iPod|iPad/))
window.open(entry.toURL(), "_blank");
else
window.open(entry.toURL(), "_system");
With these lines of codes, if the user is under iOS, the integrated viewer is launched and displays the file. The problem is for ZIP files or other files that can't be rendered in the viewer. This one says "Load Error".
I think that if "_system" worked, Safari would be launched and would propose the user how he wants to open the file.
Does anybody have an idea of how I can make "_system" worked in iOS? Is this eventually a known problem (I couldn't find anything related to my problem)?
If this can be relevant to my problem, I use Phonegap Build in order to generate the .ipa file.
On iOS when you use _system, it try to open the url you pass with safari.
As iOS have sandbox access limitations, safari can't open the url because it's inside your app sandbox.
You can try this plugin, it provides an "open with" dialog that will show you the apps that support the type of file you want to open if any available.
https://build.phonegap.com/plugins/1076
We've been using childbrowser for a while to open pdfs in our ios app with no problems. Recently we decided to open a webpage that we were opening in safari in childbrowser, so I split the pdf specific code off from the original webpage opening code and tried to get the window to come up. This, of course, did not work. After trying for a while to get it to work I decided to just make a blank phonegap project, put the childbrowser plugin in and get it to go to google (as in the example).
New phonegap 1.3 project, new fresh childbrowser plugin added (in xcode as a yellow folder in the plugin folder), js for childbrowser added to www folder and to index.html, and added google.com; ChildBrowser/ChildBrowser.js; ChildBrowserCommand/ChildBrowserCommand to phonegap.plist. Then I tried the three different ways I know how to try to open a childbrowser page (shouldStartLoadWithRequest in appdelegate, call the childbrowser javascript, or call the method directly using phonegap.exec) and none of them worked.
Is there something different I have to do to make childbrowser work for 1.3? Or am I missing a step to get webpages to work in general?
First off I figured out that you need to both set up appdelegate to sent the proper pages to childbrowser AND you need to use code to submit the url using childbrowser.
Second, www.google.com does not work, www.google.com/ does.