In app notification in android - android

Is there is something like In App Notification?(Other than push notification) if yes please give me some link for information on it. I had google but does not found anything important.

In App Notifications
It is a new type of notification that is displayed inside the app. Users will see it only if they are inside the app.
There are usually two types of in app notifications or in app messaging:
Intrusive
Non-Intrusive
The Intrusive In App Notifications are usually created when you do an action inside the app and the app developer wants to promote something to you.
For example, if there is a free fitness app. At the end of doing some exercise, you are asked to view one video ad in exchange for the free exercise that you received or you can be asked to leave a review on Google Play Store or Apple Store for the app.
The Non-Intrusive In App Notifications are notifications that sit inside a screen and can be viewed whenever the user is in the app and feels like they should do it.
This type of messages can help app owners to share personalised recommendations, offers, discount codes or updates with their users.
Usually, they are used when you want to reach users that have opted out of push notifications or other communication channels.
Some apps will allow their customers to reply with feedback to their notifications.
There are software development kits from Apptegrity or Firebase or Apptentive that help Android and iOS apps to integrate easily with non-intrusive in-app notifications.
I hope this answers your question.

Related

How can you link an Android Developer Notification Purchase with a User ID?

We've implemented Android Developer Realtime Notifications in our app and they've been working great. I was wondering if there is any way to link the notification with a user from our app. Many times the connection was lost and the APP couldn't tell our API that there was a successful purchase; we then receive that purchase through the notifications, but I don't know which user to assign it to. Is there any way to do this or is there a best practice?

Implementing FCM (Firebase Cloud Messaging) on a MVC Web App

I am developing a MVC Web App. The app will provide a platform for people to sell products and allow people to then search for an view these products.
I have no experience of what functionality Firebase FCM can provide. So my two questions are:
Can FCM be added to a MVC App to send push notifications to Android and IOS phones when a triggered by an event e.g a new product gets added to the web app
If it can be added to the Web App how customizable are the notifications e.g. can a notification be sent based on different type of events e.g. can different notifications be sent when different types of products are added to the web app?
Any advise would be helpful!
Yes... but it's up to you to write the code to do this. That is, you'd need to have some kind of process on your side (probably on a server) that's observing the data powering your web app, or your web app could do the work itself to "trigger" this process when it changes. (It really depends on how everything is structured.) This process could then submit a FCM notification that would go to all your mobile clients.
There is currently no way for this to happen automatically. That is, if you're hoping for some kind of "Hey, Firebase, send off a notification through FCM when you notice that a new child is added to your database" functionality, that's something that does not currently exist.
Since you'd be writing the code to create the notification, you can customize as much as you'd like. :)

Correct way to send push notifications

I want to send a notification from some server to android device. The most obvious(and power-hungry) way is to keep searching some database for any new messages using a service/broadcast receiver.
I am sure there are other ways to get this job done. I took a look at GCM(google cloud messaging) , and it seems that google always keeps some TCP/IP connection active. This essentially means that using GCM will use less power.
However, I have a few questions regarding GCM.
Does a user NEED to have google services, and a registered play id ?
If a user side-loads an apk, will he still be able to receive notifications ?
I would like to know if there are alternatives to GCM
What about devices running forked android versions, like nokia X , kindle etc? How are push notifications sent to those devices ?
Does a user NEED to have google services, and a registered play id ?
Yes, it is necessary to use Google Play Services in your development. However users do not need to have a Google account or the Google Play Services Installed.
If a user side-loads an apk, will he still be able to receive notifications ?
Yes.
The steps that must be followed to send a notification to a device are:
Developer creates application in Google Developer Console
User installs application
Application gets a NotificationID and sends it to your database
You store the NotificationID at your servers with any other information related (your username, device info, etc.)
Whenever you want to send a Notification you connect to GCM sending one or more NotificationID and the notification content.
The users related to the NotificationID will receive in your Application the notification content.
Do any action you need.
Have a look here.
IMHO there is not any real alternative to GCM in Android (based on efficiency and simplicity). You may look for 3rd party services that will help you in the implementation and add value (marketing, business intelligence). As an example of this take a look to UrbanShip.
If you want to implement your own solution you should have a look to WebSockets. This will mantain an active communication between your server and the device. Those sockets are thought for real time communication between your server and the mobile.
Two issues:
How is the application affecting the battery depends on your implementation and the application use-case (how frecuent are you sending information, how long is the connection stablished).
I am not aware of any native implementation of this in Android but there are a few Libraries coming from open source projects. Google it.

android web-app push notification

On Safari, it is possible to have the following setup:
I pay Apple $100 / month to be a web developer.
I put up a site, say foo.com
When a user visits foo.com on their iPhone, a message pops up, saying "foo.com would like to send you push notifications. Do you allow? YES NO"
If the user clicks yes, then I can send the user push notifications:
without using SMS
without the user ever installing my app
On Android, is it possible to do the same ?
I know that there is something called GCM. However, every GCM tutorial I have found involves:
* writing code in Java
* installing an app on the android device
I also know of other commercial tools that will do the push for me.
However, my question is. On Android, is the following possible:
I register to be a Google dev of some sort.
I put up some code on foo.com
When a user visits foo.com on their android phone, a message pops up saying "foo.com would like to send you push notificaions. Allow? Yes No"
If the user clicks yes, then, by talking to some Google server, I can now send the user push notifications (without the user installing an Android app).
On iOS, we have https://developer.apple.com/notifications/safari-push-notifications/
I want to find the equivalent for Android.
Thanks!
Nope, you would need to get them to deploy an application onto their phone for you to then register and send push notifications to. You have to right that application as well, most likely in java. I don't even think your idea would work on iPhones either without a native app as well..

push notification apps using wysiwyg app builders

this is rather a generic question and I'm not sure where to put it.
Just wondering if there are any good app builders which offer user subscription as a feature and if it is possible to send push notifications to certain unique users. For example, if I have 10 users who have downloaded my app (numbered 1 to 10), would it be possible for them all to log in and would it be possible for me to send push notifications to only User 1,3 and 5?
Also, is there any way they can respond to this notification via my app?
Any info about an app builder with such features would be appreciated. I've checked a few such as AppMakr, but they don't seem to offer such functionality/
Any help will be much appreciated.
Cheers
Try GCM (Google Cloud Messeging)Please check the below link to start with.
http://developer.android.com/google/gcm/index.html

Categories

Resources