Problems to use sms Phonegap plugin - ios

When using the SMS Composer on IOS 6.1, the plugin works fine when call using the instruction provided in the example:
cordova.exec(null,null, 'SMSComposer','showSMSComposer',[args]);
When using the following instruction in the Usage Notes to pass a number and body text, the plugin does not load:
window.plugins.smsComposer.showSMSComposer('9999999999', 'hello');
Can anyone please shed some light on this for me?

iOS Does not allow sending SMS without presenting UI.
http://blog.mugunthkumar.com/coding/iphone-tutorial-how-to-send-in-app-sms/

Related

Where to find tthe documentation to use googlemail commands on mobile device?

I'm looking for the documentation that cover this kind of links :
googlemail:///co?to=email
(An example in this thread : Is there an iOS mail scheme url for Google's Inbox?)
I would like to make a search for specific mail executing a command using gmail app on my mobile device (IOS)
Something like that : googlemail:///search?messageId=foo
But I'm not enabled to find the rigth documentation.
Thx.

how can i use the notification API on ipads?

I have discovered that the web notification API is not working on i-Pads
Web API notification .
For example, in my React Application, when using Notification.permission on i-Pads, the Error Boundary class throws this error :
ReferenceError: Can't find variable: Notification
i thought that may be i could try using the native notification Api on I-pads ? but can i do this in my React application knowing it's not a react native application ?
Anyone ran into this issue ?
thank you!

EXE_BAD_ACCESS(code=1, address=0*4) in ios

When i use Quiclblox for(App To App Audio and Video Calling) and twilio for(App to Mobile Audio Calling) both in my application then i faced the problem, EXE_BAD_ACCESS(code=1, address=0*4) in IOS(xcode).
But if i use only Quickblox in my application then it works fine,also when i only use twilio then it's also work fine in my app.
But problem comes when i use both third party liabraies(QuickBlox and Twilio) then it shows me:- EXE_BAD_ACCESS(code=1, address=0*4)
error: memory read failed for 0x0
I don't know about this please help me.
I use Zombie to solve this and try to work on instrument to solve this but didn't get anything.

xcode apigee logInUserWithFacebook extra parameter?

I'm using Apigee for my iphone/ipad app.
Like many apps today, mine requires a login via Facebook and Apigee has a function specifically for this in the iOs framework, here's how it's called:
[ApigeeDataClient logInUserWithFacebook:[FBSession activeSession].accessTokenData.accessToken];
As far as my code goes, everything works well up until the above line. I'm receiving the following error.
Response: {"error":"invalid_request","error_description":"missing access token"}
However check out how the function is making the call (from the logs):
Synch outgoing call: 'https://api.usergrid.com/sgfishing/deepseafishing/auth/facebook?ql=fb_access_token=CAADrhKxrQp4BANfZCMuZBdOwUL9nc0H4VzZC1EXVLjABRbcrucTlUgwlKczFinl51GIWyBM5nlZBX1RF84azFAEOfChqN7vgSmvqgwybV8iPU2xjncZB9T5YTdY0pesJkHsSlvOafMhQ6MfIa6qdZCbTYBZCFB2oIPgEnro4runJKcqCy68wZCFQwyIzACVThAC3IEjZADs36hToQxhYZBzAWVhbKlcqJQsroZD'
I would like to bring your attention to this ...facebook?<b>ql=</b>fb_access_token=CAADrh....
I'm not sure why ql= is there, I've checked the definition of logInUserWithFacebook and ql= is nowhere to be found.
Any help would be greatly appreciated.
This is a bug in our iOS SDK. It has been fixed in version 2.0.9 of our SDK (released yesterday).
?ql= is typically used for query language statements see if there is any such code around in your program
This just a tip...may help

Using AddThis SDK for iOS, Need to change "via #AddThis" for default Twitter text

First ever SO question, woohoo.
I've integrated the AddThis SDK into an iOS app. I've set it up to share the App Store link to the App via various channels. All works well except the default text in the Twitter message appends "via #AddThis" to the end of the tweet. Although this text is editable by the user, I'd like to change it to "via #MyTwitterHandle".
AddThis' documentation says you can use:
[AddThisSDK setTwitterViaText:#"MyTwitterHandle"];
Except this doesn't work. It raises a warning that AddThisSDK may not respond to the method call and the app crashes when it reaches this line.
Examining the AddThisSDK header file, there's no such method outlined. I've searched their forums and FAQ etc to no avail. And I did run into other instances where the method names in their documentation were different from those in the SDK. If that's the case here I haven't found the correct name. Does anyone know how to do this?
Thanks in advance.
Do you have the latest version of the addthis iOS sdk? http://www.addthis.com/help/ios-quickstart
Please set setTwitterViaText before the sharing code.
This will work:
[AddThisSDK setTwitterViaText:#"My App"];
[AddThisSDK shareURL:myUrl withService:#"twitter" title:#"myTitle" description:myDescription];
This will not work:
[AddThisSDK shareURL:myUrl withService:#"twitter" title:#"myTitle" description:myDescription];
[AddThisSDK setTwitterViaText:#"My App"];

Resources