how can i use the notification API on ipads? - ios

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!

Related

Communication between rails application and chrome app

Currently working on a rails application , i want to send and receive data to this chrome application https://github.com/GoogleChrome/chrome-nfc.
I added chrome.runtime.sendMessage() function inside app.js file to send a simple "hello world" to my browser and
chrome.runtime.onMessage.addListener(function(response,sender,sendResponse){alert(response);});
to show it but I get nothing.
Is it the right way to communicate between them ?
Are you using near field (NFC)? If not, you may want to do something much more simple to pass info between your Chrome App and Rails on server, use an XHR request:
https://developer.chrome.com/apps/app_external#external

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.

GooglePlaceAPI error: -6 in iOS

after working with autocomplete UI Control https://developers.google.com/places/ios-api/ i got error in XCODE console when i am going to search in search bar that Google provide.
I have use Google Maps frameworks with use of pods.
Error :
error : -6
Set accountToAuthorizerBlock to be able to send authorized requests.
I'm an engineer on the Places API for iOS team. This is an internal log message that was printed by mistake. It shouldn't actually affect the functionality of your app and it's fine to ignore it.

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

Problems to use sms Phonegap plugin

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/

Resources