I wan to send email using phoneGap in iphone Application. Any Idea.
You can do this by using a phonegap plugin called emailcomposer which can be found on github: https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/EmailComposer
Related
all my app is base on SMS communication, first I use this sms package (https://pub.dartlang.org/packages/sms) but it's only supported by android. It's work fine for this.
But I need also to implement my app on iOS, so I use this new package (https://pub.dartlang.org/packages/flutter_sms) but it's didn"t work for me... when I try to send SMS to 0123456789, native sms APP call me an error :" wrong format [0123456789]".but I never add [].
I tried also simple_sms plugin (https://pub.dartlang.org/packages/simple_sms) first I don't know if it's iOS compatible, and when I click on "send SMS" I'm redirected to the native SMS app ...
I see that URL_lancher can send SMS, but if I understand, URL_lancher call also the native app to send SMS...
I need something more transparent. So are there an other example to send simple SMS in ios and android or just iOS with flutter, without call a second page ?
thank you
There's no available Flutter plugin with iOS support for sending SMS directly without launching an SMS app. For Android, you can use telephony - this has support for sending SMS directly from your app.
You can also try exploring Twilio. However, this requires a network connection to be able to send an SMS.
I am using Paypal checkout as payment gateway for my mobile web application and it works fine.
Now I am trying to create Mobile native app (android, ios, windows) using Phonegap and facing issue while redirecting Paypal back to my mobile app.
What URL should I give as RETURURL in case of mobile native app?
Is there any way I can return user back to the mobile native app?
Thanks for your help in advance. Have a great day.
Regards... Mehul Patel
You should probably use paypal native libraries ( ios / android ) for your native application.
http://paypal.github.io/
https://github.com/paypal/PayPal-iOS-SDK#paypal-ios-sdk
https://github.com/paypal/PayPal-Android-SDK#paypal-android-sdk
Assume we have a HTML5 web page embedded within a PhoneGap or Titanium app.
Can the app invoke JavaScript functions found within the HTML5 web page?
Specifically: after the app receives an Apple push notification, how can the app invoke one of the JS functions on the web page?
Thanks!
Are you asking how to do it in PhoneGap? or are you asking how PhoneGap does it?
How PhoneGap does it:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
UIWebView's stringByEvaluatingJavaScriptFromString: method.
Edit: how to respond to push notifications in phonegap: can we do push notification in iphone using phonegap framework?
Is it possible to implement IPhone's push notification service for a
Webapp that has an icon on the "desktop"? If so how?
That depends on exactly what you mean by Webapp that has an icon on the "desktop"?
No, if you're referring to a webapp where you have saved a link with Add to Home screen as per this Apple instruction.
Yes, if your webapp is a thin CocoaTouch shell using webkit.
i have an alternative solution for this:
1) create a gmail account and get gpush app on your iphone (setup the gmail in the app).
2) instate of sending direct notification to iphone, you can send an email from your webapp to the gmail account.
3) within 5 sec. you will receive the push notification.
hope this help.
You can always delegate the messaging to 3rd party notification apps.
One great example is Boxcar (http://boxcar.io/).
You can have your web app send notifications via their API and have them delivered to the app. Lastly, you can the use deeplinks in your message to open your webapp to point the user to the content item you wanted to bring their attention to.
No, it's not possible. It's only for cocoa touch (AppStore) apps. If you want more info, take a look on the documentation.
another alternative: use an sms service like http://www.smstrade.de/ to send an sms to the user's phone. That's the way I do it.
Another provider for sending sms as notification is https://bulktrade.de
There works world wide
You can use HTML5 to introduce your own push messages. From wikipedia
"For the client side, WebSocket was to be implemented in Firefox 4,
Google Chrome 4, Opera 11, and Safari 5, as well as the mobile version
of Safari in iOS 4.2.1 Also the BlackBerry Browser in OS7 supports
WebSockets."
To do this, you need your own provider server to push the messages to the clients. If you want to use APN (Apple Push Notification), you must have a native application which must be downloaded through the App Store.
From iOS 6.0 I noticed that a WebApp icon placed on homescreen automaticly refreshes after each webkit open of webapp. Of course if you change this icon on the webserver. So theoretically you can display any informative content in this icon(numbers, status etc) BUT it will not refreshes instantly - only after opening and closing a webkit webapp.
is there any code on how to implement the sms scheme in iPhone apps. in addition, implementing this sms scheme will allow my apps interact with the sms apps ma like doing subscription of advertisement or services?
The iPhone SDK does any SMS functionality, either for accessing received SMSes, or sending SMSes. If you need this functionality you should file a bug with Apple.
Using UIWebView embed a html like below
Launch Text Application
New SMS Message
Apple URL Scheme TextLinks
https://developer.apple.com/library/content/featuredarticles/iPhoneURLScheme_Reference/SMSLinks/SMSLinks.html#//apple_ref/doc/uid/TP40008054-SW1