Sending SMS programatically in IOS 6? - ios6

How to programatically send a pre-composed message from IOS 6,
Experts are appreciated even for there replies, am in a critical situation please help me to find out a solution, i am ready with my app till IOS 5 and please help me to move on IOS 6.
Thank you.

You need to import MessageUI.framework to your project.
Anyways, it has already been answered here - How to programmatically send SMS on the iPhone?. Check Najeebullah Shah's answer. It should work with the latest SDK.

Related

Ionic error: Unfortunately app has stopped

I know this is a repeated question, but still I am posting the question as I unable to find the answer by all the method i check in the previous links. So, please help me instead of marking duplicate or voting down.
I have build an app with some cordova plugin including the push notification, but in some handsets its working good and in some its showing me as "Unfortunately appname has stopped" and the app is exits.
I have tried with some options like updating google play services, sdk update, adb logcat, keyboard uninstall and install, even platform also i have added again but no use.
Please save me from the bug.
Ultimately I have found the solution.
The error was the cordova-android#7.0.0 version.
I just updated my package from 7.0.0 to 7.1.0 and just re-installed all the plugins and its working pretty fine.
Now all the plugins even the push notifications are working good.
If anyone has the issue can just follow the same procedure and it will help you.

Disbaled Website Screenshot in mobile

please anyone can help me to disabled screenshots in mobile for my website. which works on android and IO's with any browser?
There is no possible way of disabling screenshots in a website, for android or IOS, how ever you can refer to Prevent screen capture in an iOS app, for information on how to do it in an app, The most prominent way of doing such would by doing a Snapchat deal, You could get could create a notification code to your email, and from that find people that screenshot it. But there is no way to completely disable the ability to screenshot.

angular pdf not working on IOS 10

I have an ionic app using angular-pdf-viewer, with pdf.js , to display pdf documents from a url. The viewer works on android devices and IOS devices with IOS 9 but as on IOS 10 the pdf will not show. Anyone else had a similar problem ?
So I eventually found that I needed to move this line out of the if statement so that it is always run: PDFJS.disableRange = true; It seems to all be working fine now for anyone experiencing the same issue.
I was facing the same issue. And I found out it is PDFJS's compatability issue. Workaround for this issue is, you can set
PDFJS.disableRange = true;
i.e you are bounding to download the whole file instead in chunks without detecting the device.
Please comment someone else has still an issue, even after this workaround.

How to update location in ionic from background?

So in my app i need to send my location's coordinates every 5 minutes through web service, I need to send it when app is in background state also. I am using background-geolocation plugin. Anyone please help me to do that. Thanks in advance
The other way running prcocess in background is by using android core if you know that.
I was also facing the problem of running process in background. I have installed the background plugin too. But it did not work. Then i wrote a customized code in android.
Steps i followed.
1.) Stored the data in cordova prefrences.
2.) Fetch the data from prefrences in android core file( a java file).
3.) Written service in android that check the prefrences after every 2 minutes.
I know this is quiet tuff but this was the only solution i got in hybrid app.

Applying Google Analytics (GA) with Sencha Touch 2.x.x Mobile Application

I am working with sencha touch 2.2.1. i wish to implement GA in my app. But, when i tried to create an account in GA, there were 2 options Website or Mobile App . First i choosed the Mobile app. section there were only options for Android and iOS. ( they were telling to download the SDK ). So i realized that its not what i want. so i choosed the website section. But there they are asking the website name and URL. What should i do..!??? I am really trapped !!!
So kindly anyone plz help me to move on the right path.
Any useful info regarding the topic will be so much helpful !!
Thank you,
If you would like to use ga.js from an installed mobile app use this GitHub project
https://github.com/ggendre/GALocalStorage

Resources