How to make a push notification? Flatter + C# web API and Firebase - c#

I was make push notification, but I ran into a problem. I don't know what to do with the deviceID(for Firebase). If you have Solution or links to articles, Please help)
I don't know how to work with the deviceID

Install the library CorePush and store to ur DB

Related

Send push notifications to a user who is not active for a week in Unity and Firebase

I am developing a game with Unity. I use Firebase SDK for analytics and messaging. The messaging works fine, but I want to send a notification to a user that is not active for a week. I did not see a option like this in Firebase SDK, do I need to do this in Unity from a script ? Is it so, is there any tutorials? So, how can I this?
I think you need to use both unity scripts and firebase functions to do it. Create a new child in your users database that contains a date with the last login, and each time a user logs in, update it (you can do this with an unity script). In your firebase function, get the last login date for every user and if it's longer than a week, send a notification.
You could attempt using this Github repository, the way I read the license terms under the "MIT" section it seems to be open source.
https://github.com/Agasper/unity-android-notifications
Take a look.
Also for iOS if you need that later, there is the LocalNotification.
https://docs.unity3d.com/ScriptReference/iOS.LocalNotification.html
I am unaware of Unity having a similar function for Android, but if you come across it, do let me know in the comment section below.

List launcher apps from Office365

We are looking to create our own "My apps" From Office365 to create a launcher.
We currently use microsoft.graph for other functionalities (like authorization) but I don't see a way to get my tenants available apps.
Using getSubscribedSkus and the users's assignedPlans / assignedLicenses we can figure it out, but that shows nothing about pinned tiles, images, urls etc.
Is there another way to get this done?
Thanks!
There is an Applications API in preview under /beta: https://graph.microsoft.com/beta/applications. The API is documented here: https://graph.microsoft.io/en-us/docs/api-reference/beta/resources/application
We currently use microsoft.graph for other functionalities (like authorization) but I don't see a way to get my tenants available apps.
As far as I know, there is no API to achieve this so far. You may consider submitting a User Voice on https://officespdev.uservoice.com.

Access Android in-app purchase info with asp.net c#

I currently have an app on the Android Google Play market which has a few in app purchases available.
I am looking to add another one which would be a subscription to give them extra functionality not only in the Android app, but also on my website too.
The availability of the feature on the website would be tied into the Android app and if the stop subscribing in the app then I would want to stop access on the website too.
Is there a way to check if they have purchased an in app upgrade using asp.net (preferably with c#, however open to other methods) and if so could you point me in the right direction as to what I need to do please?
My attempts at Googling this has returned no results so I am not sure if this is possible or if my Googling is just rubbish!
Thanks.

IsMobileDevice Google Bot problem

i have a website that have 2 verisions 1 righular and the other fo mobile
it"s working great , but when google bot research my site ,
my site shown on google as amobile ver.
i think google bot pass the line:
if(Request.Browser.IsMobileDevice)
....redirect to the mobile ver (Not good for google it"s not the right ver)
you know a way to prevent that google refer to the mobile site
thanks
Yes, the problem is by default, the method Request.Browser.IsMobileDevice returns true for any User Agent it doesn't know about.
The trick is to add another .browsers file that identifies all the bots (this will happen with all of them, Yahoo, MSN, etc.) as NOT mobile devices.
I put a ticket in about this and explain it in detail here:
http://mdbf.codeplex.com/WorkItem/View.aspx?WorkItemId=3906

Update facebook status with C#

My desktop application should update my facebook status.
Is there an API that allows to update the status with a login and pwd ?
Thanks in advance for your answer
Sure there is!
.Net FacebookToolKit it was done by a 3rd party for Microsoft, and then published as open source on CodePlex.
There is proper documentation and even videos on how to do your first desktop application and how to publish stories, status, etc.
FaceBookToolKit CodePlex documentation
Facebook Send User Status
There is the Status.set API that allows you to do this kind of thing.

Categories