Azure notification and mobile services - android

I'm using Visual Studio and Cordova to create crossplatform (iOS, Android) app and i'm using also azure hub notification and the mobile services.
It's possible to use just one mobile services with different app and send them different push?
How does it work?
Thanks

Yes technically you can using tags. You can have two different apps using same mobile service and being tagged on notifications hub as two different app type.
So when you need to push something to type 1 apps you specify this tag along with the message to notifications hub.
Let me know if you need more details.

Related

How to receive Apple Push Notification on Android mobile? How to install IOS in Android?

Can i install IOS on my Android mobile to receive Apple push notification?. If yes how to install IOS on my Android mobile and how to receive push notification?
Can i install IOS on my Android mobile to receive Apple push
notification?. Not Possible at all. IOS is more secured and confined
in own way.
how to receive push notification ?
or How to receive IOS push notification on android ?
ANS :
you need to build android app, configure GCM for it. Provider is your server which is generating push notifications (ios) or cloud messages ( android ) to mobiles. All you need to do is add one more call to GCM to get push notification in andoid app.
Can i convert my android os into iOS. Like installing linux and
windows on same laptop. Because in mobile also we have
processor,ram,rom. So y we can't install an iOS in Mobile device?
Yes. Very true. Device are same when comes to hardware, but its more specific on software part not hardware part. IOS is more secured and confined means it has its own constraints that need to fullfilled. And more IPHONE has no mutiple vendors, but android does.
You don’t have to root your device if you want to install iOS to Android Smartphone. Just download the software, which is found on the “Sources” section of this page, in your PC. Then, connect your Smartphone to your computer. Open the downloaded program and follow the step-by-step procedures there.

Azure notification hub sending notifications to iOS only

I'm working on a multi-platform app which includes push notifications. The issue I'm facing is described in the images below
1st Scenario :
2nd Scenario :
However, when I test notification hub (using azure portal or Visual Studio), I receive notifications on all the devices.
It seems that Azure Notification Hub is ignoring Android devices when an iOS device uses the same account (tag).
Any help would be appreciated
For that type of issues, use the Service Bus Explorer. Likely, your Android app did not subscribe successfully for some reason. Subscribing different apps working on the different platforms to the same tag should not be a problem - i saw it working many times, and implemented that by myself.
If you see in the Service Bus Explorer (see registrations for your NH, and search for your android app registration and the tags field) that your android app is subscribed to the tag, but you see no notifications, check if your notification is malformed.

Sending message from web browser plugin to android and IOS application using XMPP

I am developing an application that needs to send message from my web browser plugin to my android or IOS app client and get response back on the plugin.
I found XMPP as an option for that but it requires separate jabberID(JID) for each client. But I need to use the same ID lets say users Gmail ID on both the plugin and the mobile application.
Is there any work around so that same Id can be used in the plugin and mobile app or if there is a better way to do this.
You should take a look at Google Cloud Messaging. The underlying protocol is actually XMPP, and it can efficiently push messages between your server (or client!) and Chrome, Android and iOS.
It also comes with powerful features like Device Groups, which let you send a single push message to Google and have it pushed out to numerous devices at once.
For your specific use case, check out the Chrome and Android docs for GCM.

Right way to establish push notifications for Android/iOS

Assuming my application is based on HTML5/Jquery mobile (Cross platform web app),
How is it possible to create push notifications for Android/iOS ?
Also, does it include developing different "notifications engine" for
each device? (in other words: Do I need to implement two different background processes for each type of device?)
I'd be really glad to get a full answer/references to my conflict.
I have searched for the forum's previous answers but it seems like the threads are quite old so i preferred opening my own question.
GCM is the Google Cloud Messaging Service for Android, while APNS is the push notification service for iOS, both of them are very similar.
If you're already using html5 and jQuery, I would suggest you to use Phonegap which is a framework that allows you to create mobile apps using only html5 css3 javascript(jQuery) it was very useful for me and they've a push notifications plugin which works for Android and iOS.
Be sure to check Phonegap and Phonegap Build (which is a very interesting service)
Regards
1)
Apple has Apple Push Notification Service (APNS) to push out alerts.
More details at
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html.
Google offers a comparable Google Cloud Messaging Service (GCM).
Details at http://developer.android.com/google/gcm/index.html. UPDATE: GCM does support iOS as a client, so can be used for both Android and iOS, with some work. (Technically, it will be an APNS when it reaches the iOS device.)
2) Not sure I understand what you mean by "background processes", If you are referring to backend service/originator of notifications,then the service needs to be able to communicate i with both the Apple APNS or Google CDM using the interfaces supported by these services and send out alerts in appropriate format. If you are looking for a third party service for sending out push notifications, you can checkout UrbanAirship or Parse which can send notifications to either platform.

iOS Android and windows Push notification

I have an application for for iOS, Android and Windows mobile.I want to send notifications to the application. AFAIK as someone new to this, I think that I need to send the notifications from my server to GCM server for Android and APNS for iphone, I have no idea for windows.
I was hoping if I can send the notifications directly to the phone (setting up a XMPP server , what the IM messenger usually use (JABBER,EJABBERD etc.)) without going to APNS of GCM .
EDIT : The application is an enterprise application so some customers don't want to share aur route their data across GCM or APNS servers.
Is that possible, please guide me to the same .
Thanks.
Take a look at https://github.com/Redth/PushSharp, It's a pushnotification service library for Windows, IOS and Android
Push notifications for Windows Phone: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402558(v=vs.105).aspx
Or you can use a service like Parse.com that allows you to manage push notifications for all he platforms using one API.
The library does that for you, you first need to do some configuration Check here.
Look a the samples.

Categories

Resources