anyone know how do I send Messages to an app, like the email app from Apple notification?
I want to notify my customer that something is ready, works like the email.
Ty
Use push notification.
You can follow tutorial at,
http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
If you want to send notification from your app, locally, you should look for this official tutorial. And you need to improve your questions.
Related
I guess that the Title is quite explicit, but I will try to further explain my requirements so maybe anybody can help.
As explained Im building a site that uses DRF as backend and React in the client side, and i would like to have some real time functionalities, so I´ve been researching on the issue which took me to Channels as the way to manage asyncronous actions and websockets. The question is that the more I read the more I get confused... by the Channels documentation one might say that it has capabilities to work whether sincronous as asyncronous server..but then i do not want to miss my DRF classes that simplify my life so much... and the there is this other question coming to my mind regarding if then, i must also use socket.io in the front to connect with channels on the back.... so as you see... im quite confused...anybody could help?
I'm not sure about the client-side and socketio. but yes you can use Django channels and react to communicate on a WebSocket. you also be able to send a message on channels outside of consumers(API view). but it's kind of risky to retrieve data from WebSocket outside of the consumer. everything in consumers(channels) execute asynchronously so accessing received a message on WebSocket by API is not guaranteed.
1 - set up a Django-channels consumer and on connect add the channel to a group
2 - connect to the channel by react and communicate with the server and keep the channel open.
3- make APIs for events and send the event from API to the channel group.
I'm working on a custom Discord bot using their api. Sending HTTP requests work but the bot doesn't actually show itself as online.
Other bots such as Dynobot are able to show themselves as online, am I missing something or is it just a case of how many requests are sent?
Wait, are you working directly with the API, as in sending HTTP requests?
If so...there really is no need to do this. Instead, use a library to code your Discord bot. Here is a list of official libraries for the Discord API. Personally I recommend Discord.js, although I have heard that Discord.py and Discord.NET are also good.
If you want to keep using the API directly, which I do not recommend at all, I believe you can call /api/login. Have you tried that yet?
I hope this helped! :)
I am progromming about function: send Email to gmail Address directly from React native App.
I searched on Internet and try library: https://github.com/anarchicknight/react-native-communications, https://github.com/chirag04/react-native-mail.
Howerver, they only show me view of Gmail App which I installed in my device.
I want react native app will send directly to Address Email.
My device I tested run on Android Platform.
Thank you so much
You need an email server or an email services to send an email, there is no way you can send an email directly from the client side.
There are several of them in the internet, you can try: MailGun or SendPulse, they got some good free tiers.
Your job is just calling a simple POST method from your app to their APIs.
I have tried, and so far succeeded in testing with iOS, with react-native-email ("npm install react-native-email").
There is a bit of fluffing around when sending the first email as you have to "login" to your email account. But otherwise, test emails are going through fine.
Also, SendPulse is a bulk newsletter service, not for individual emails.
One annoying caveat: it won't work in your emulator. It will return a URL error when you click the send button. But it works fine on a real device. I'm using Expo (and who wouldn't) and it works fine on my iPhone.
Complete code for testing purposes here: https://github.com/tiaanduplessis/react-native-email
Don't mark question as duplicate or already asked. If know please answer.
I am trying to integrate payumoney payment gateway in my hybrid app. I went through some tutorials and finally reached to plugin cordovaInAppBrowser and using its events, loadstart, loadstop but not able to send and get parameters.Since last One Week I stucked and so finally posting here. Thanks, in advance
Finally I succeed in integrating the payment gateway in ionic. Its very easy, jsut follow the following steps,
add the cordovaInAppBrowser plugin and Inject the dependency.
make all the fields you get that to send to that Gateway with all validations.
now you needed some 3 files as success.php, failure.php and paymentfile.html.
$cordovaInAppBrowser.open("filename?"+params, '_blank',options)
make note that success and faliure php file are in server and access them through server
get the response in the php file than to controller, based on the response traverse the path and its done.
Most important you need to serialize the data while sending as its should be global and assign it to window object.
Also we have to use the cordovaInAppBrowser events loadstop() and all the stuff i had done in this event and later i call the close() function when its done.
Its Done.
I have a Ionic v1 app and today I added the ngCordova Email Composer (http://ngcordova.com/docs/plugins/emailComposer), which is a kind of wrapper for https://github.com/katzer/cordova-plugin-email-composer.
It is working till the point where I want to know, if the email was sent correctly, or if the user cancelled. I found some exmaples over Google, but they catch always a cancel, even if the mail was sent.
Any ideas?
Thanks,
Christian.
The issues list of the plugin (https://github.com/katzer/cordova-plugin-email-composer/issues) shows, that I am not the only one, having problems.