phonegap smscomposer called from an externeal aspx website - ios

i am making a mobile app with phonegap where the main page was made with MVC ASP.NET. When the ios-phonegap app starts, we redirect it to the ASP.NET page. What we have to do is to call the SMSComposer phonegap plugin implemented in the ios phonegap app from the MVC ASPNET page.
Is this possible??, or i have to create all the html, js and css files in the www folder of the phonegap ios app and call it from there?
Thanks!

You have to create all the html, js and css files in the www folder of the phonegap ios app and call it from there.
Even if it works in an external server, apple won't approve the app

Related

Cordova iOS Universal links issue

I have cordova app which opens website (www.example.com) within webview. I have added cordova universal links plugin in my app https://www.npmjs.com/package/cordova-universal-links-plugin , followed the complete steps, added apple-app-site-association file at the root of my website www.example.com and it is showing json.
I have created universal link www.example.com/activemember, I added this as link in another website www.example2.com. when I open this www.example2.com in safari and clicks on link, it opens my app and takes me to active member screen within app.
Problem is that I am showing www.example2.com within an iframe of www.example.com which is being shown in webview in cordova app. when I click this link from within Iframe from app itself, it does not opens the specific screen within my app. instead, it opens www.example.com inside the iframe. appreciate if some one can help.
This project is deprecated, but there is a fork with some errors fixed:
https://www.npmjs.com/package/cordova-universal-links-plugin-fixed
As pointed out by #borgees, the linked project is abandoned.
If you are willing to switch from Cordova to Capacitor, Capacitor has support for deep links. This uses Ionic Plugin Deeplinks, which is actively maintained.
Another option for Cordova is the BranchIO Cordova Ionic Phonegap Branch Deep Linking Attribution plugin.

Web Browser on firemonkey mobile application file chhoser not working

I have an application on firemonkey mobile. there is a web browser component and go an url adress. in my web application i upload a file with file chooser. the application work in any web browsers on android or ios phone. but not work when i build the app for android apk or ios. the Web browser on application go to the url and work fine but when that i want to upload file with file chooser i click the file chooser but nothing happens. how do i upload files in my web application using firemonkeys web browser

Publish simple html + Kendo UI app as ipad application

I am creating a new html application using kendo ui. It is calling the web services to get the data and the ui is rendered using Kendo UI. I want this app to be published as ios app.
Is it possible to publish this app directly as a ipad / iphone app ?
Thanks,
Sachin
I thought this information can be useful to someone who is trying to achieve the same thing.
Phonegap Build is the online tool , that allows you to publish html apps as ios , android or windows applications.
All you need is js , css and html pages of your applications with a valid and well formatted config.xml file. You can upload the zip file with all these files and this portal will build the apps for all 3 platforms and will allow you to download the .ipa, .apk and .xap files.
Thanks.

Do PhoneGap/Cordova Apps run under HTTP?

I'm coming behind another developer who built a PhoneGap/Cordova HTML 5 application, currently only targeting IOS. Admittedly, I have zero experience with Cordova and hybrid mobile apps.
I can open up the XCode IDE and run the application and I can see the web page (application) load up in the iPad emulator, so long as I have his Node.js application running.
I guess I'm confused about the context in which the actual index.html that makes up the HTML 5 application runs. Does it run on the iPad under a mini web server (http://local or http://localhost) or does the index.html run on a file system path (something like file://path-to-file/index.html)?
I've used Icenium (Telerik AppBuilder) and created an empty project for which I copied all the HTML 5 code into and ran it. Upon inspecting/debugging the page in the emulator, I see that the page is being served up with a base URL of http://local.
Lastly, I simply tried opening the index.html by double-clicking it and running it in the browser (file:///...builds/ios/www/index.html), and the application didn't work
In summary, as long as I run the website in an emulator, the application loads and runs file, but it won't run loading it from the file system.
My assumption is the scripts are expecting an http base URL and the file:/// url is throwing it off. Does this sounds like a reasonable explanation?
Do Cordova apps run the HTML 5 apps under HTTP?
Thank you.
they run on a file system path (something like file://path-to-file/index.html)
if you are using something from the phonegap API it won't work on a desktop browser

Phonegap redirecting to safari

I'm trying to use Phonegap to build an iOS application through github. All I have in my directory is one html file and an image. The html basically redirects them to my website, which is optimized for mobile devices. However, instead of redirecting them in-app, it opens a safari window and tries to load my website in there. How do I get it to load the website in-app?
I think it would be useless to correct youut code, because Apple won't allow you to bring this app into the store. It is not allowed create just a browser. But this may answer your question: Stop iframe redirect/opening mobile safari in phonegap project

Resources