I have a Facebook Android application, and I need to notify my application users via Facebook when I publish a new update to my Android application, Is that possible? And how?
Knowing that according to this Facebook documentation I can get my Facebook application to notify a user with a message up to 180 letters (Following the recommended UX), but here's my other problem, I don't have my Facebook application users IDs, and of course it would be very hard to manually send a notification to each user (In case I have their IDs, and I don't).
https://developers.facebook.com/docs/games/services/appnotifications
To sum my question, does App-to-User notification could achieve what I want or I misunderstood its purpose?
P.S: I know you may say, why would you want to notify your users that there's a new application update where Google play will notify them.
Simply, my application and its updates being distributed via different stores and some of them are web based which will not notify the user, plus most of users may not pay enough attention to Google store apps updates notifications as they pay attention to Facebook notifications, along with the fact that users uses Facebook many times a day, while the majority of users will not open Google App Store in a long period.
Related
The app has to ask for rating and opinion which will be tried internally and if some criteria are met, the user should be redirected to play store.
But I don't want to redirect user which already put any comment for current version of app. So I want to avoid unnecessary redirection.
Is a way pass rating request to Play Store or some Google's service and this service will decide without passing any info to the app?
I don't want to know if user rate the app or what value this rate has. I'm looking a Google service/API which on Google side make decision for me. I just fire & forget.
So below similar questions are not responcing on my question:
How do we know that somebody already rates the app before redirecting him/her to Google play?
How to know if a specific user has rated a Android App?
How to find out from with application, if rating for app is already done by user
How to know if a specific user has rated a Android App?
but I don't want that app get any info about users.
My system consists of a mobile app (a Cordova app), and a webservice, providing all the relevant data. When a user buys the app in the appstore (or playstore, if android), a user account should be created on the webservice, ideally without any user interaction (no registration). The user account could be linked with the gmail account, apple id, ... This is required, to only allow people who have paid to use the webservice.
My Problems:
I did not find a way to get the user id of the user. (Android seems to have a way: https://github.com/loicknuchel/cordova-device-accounts , but iOS not).
I only want exactly one registration per user. This saves me from using something like a registration page, when the app is first started - this could easily be bypassed and lead to multiple registrations.
The user account should be linked to the user and not the device (so no device UUID or so, as this would not be portable between devices).
Ideas that I had:
(Favorite, doesn't seem to be possible) I have a method "getUserID()" in the app, which returns the right user on the phone. Additionally, I have access to an API to check who bought my App. I can easily cross check, to make sure that the user has permission to use the webservice.
(Unnecessary complicated, seems wrong) Make the app free, use a single in-app purchase to buy access to the webservice. When I searched, I found that it seems that in app purchases give you more information, so there might be the chance to link the app with a user.
(Even worse than 2.) Make the app free, use an own payment system/registration.
My question:
What does the Android/iOS app-store eco system provide, so that I can ensure that one user buying the app creates exactly one user account on my webservice, and this user account is linked to the user and not the device?
You should generate a secret api key for each paying user.
Then the user should use this key to auth into your API and get a token back (you can make it expire after some time if you want a stronger protection). User should attach this token to all of his api calls.
Im developing an android application for the first time (no prior experience whit coding....). Mainly the app is going to be used at work as a tool for service technicians. The app is almost ready for field testing, but there is one thing i need the app to do before that. I need the app to force the user to log in every time its opened. This is because some of the info on the app is confidential, and only people that currently works for the company is allowed to have this info. Whit firebase i can then block the users that leave the company, or users that are not verified. Currently the users sign in whit google and they stay signed in until they clear the app data or delete it.
I have looked far and wide for the answer to this, but i have only come across different use of timers.
If anyone has a better solution to this "safety" issue, im open to anything.
If you are using Google Sign-In for authentication, there is no out of the box support for forcing your user to authenticate with Google every time they use your app.
This makes sense, because the user is still authed with Google on your phone. A login system only authenticates the user; it doesn't inherently protect data stored on the device. As long as Google has a valid access token, the user won't have to type a username and password again (and simply clicking "login with Google" again doesn't really provide extra protection here).
If your primary concern is blocking access to users who have left the company, you should be covered if you are using Google Apps for your company. If you disable the user's account, their access tokens should become invalid. Google Apps admins can also manually revoke access to specific apps for specific users.
If you don't use Google Apps (e.g. your users are using #gmail.com accounts or accounts from a domain outside fo your control), you might want to consider implementing a list of users allowed to access the application, and verify the current user has access by checking that list via an API call on launch.
If the goal is really protecting the confidential information in the application, you might want to take an approach similar to Android Pay in which you require your user to set and enter a PIN number to access the application. As an added benefit, you can then use that PIN to encrypt any confidential data you are storing locally.
I will suggest you take a look into shared preferences and every time when the user is back into the app you send them to the login activity.
I like to implement Refer a Friend functionality in my mobile application (Android and iPhone).
User "A" will refer my mobile contacts via SMS (Referred user "B"). And if "B" install my referred application or the referred content, "A" will earn some reward points.
This is my scenario. Suggest me.
Thanks in advance.
I used Google Analytics Campaign to implement this scenario.
Another way to do this is to generate unique links for all your users, that they can then send out to their contacts.
Let's say User A shares a link with User B. When User B clicks on the link to get your app, rather than immediately redirecting to the App Store, you can make a call to your backend, with the goal being to create a digital fingerprint. Your backend can record the digital fingerprint then do a 301, 304 or 307 redirect to the App Store.
To create the digital fingerprint, your backend can then make a browser-based digital fingerprint including:
1. IP address
2. OS
3. OS version
(These can be grabbed from the request headers).
--
Later when the user opens your app, you should send up the same 3 things, IP, OS and OS version. If they match and are close time-wise, you know that they came from this click from User A's link! Then you can give User A a reward and thank him for getting User B to download the app. This is what we do at Branch Metrics, where I work. We also leverage a browser cookie that works across apps, so that we don't need to rely on fingerprinting except for the very first time we see a user in any of our apps.
You should also think about preventing fraud. You should prevent User A from referring himself, you should prevent User A from referring User B over and over, etc. This is something we work on everyday as well. Definitely spend time on fraud prevention unless you really don't care about giving out duplicate rewards to the same user. Please leave a comment if you'd like more info.
If we assume the user has not started your app, how do you send/push news/updates?
For instance, imagine the user installed "shops-in-your-area" app and set some option to inform the user when new shops launch... But the user forgets to run the app. How do you auto-launch and/or auto-check for news to show them inside Android?
I'd suggest you start by looking into Google Cloud Messaging. You might have seen it referred to before as 'GCM'. http://developer.android.com/google/gcm/index.html
This should provide all the functionality you require.