Stack android push notifications in parse unity - android

I have push notifications set up which work, however when the user has multiple notifications I would like to combine them into one summary notification.
Does anyone know what I have to do to achieve this? I haven't been able to find any examples of this being done using Unity.
My best guess is that I have to basically make my own copy of ParsePushUnityHelper.java, compile it into a .dll which I then add as a Unity Native Plugin, then hook that up in a similar way to PushBehaviour.cs, but that is a lot of work so I am hoping there is another way.

Okay, so basically what you need to do is create your own .jar using the contents of this folder, save a list of received notifications to update a notification with, then clear that list when the notification is opened or cleared.
For more info, check out the discussion I had with Parse developers here.

Related

Recieving Notifications

So I have this idea of an app that would get all youtube's notifications for the day and puts them all in one page and give you some functionality over them like adding to watch later and maybe not interested and some others all in one click, in addition to that i would be able to make better notification tiles you know the default one isn't that good and i've seen better, I thought about it for a while and I think i am going to go about it this way:
1- stop youtube itself from sending the notifications.
2- making the app get this day's uploads and listing them.
3- making the app send the noti... in a better looking tile.
4- adding the "Other functionalities".
But..., i've looked around for notification support on the youtube api page and found nothing useful.
Is there any api or anything that would help me in this, i am using android studio BTW.

Broadcast Receiver in Phonegap 'Build'

I'm trying to receive a link shared from another application like browser or youtube into my phonegap app. I'm using phonegap build (build.phonegap.com) to make my app.
I'd like to know how to make my app appear in the 'share' list for links.
All solutions I found online are making me edit Android Manifest or Java files, but is there a way (a plugin of sorts) I can use to make data transfer between apps possible?
There is a plugin available for PhoneGap which will handle receiving content from other application. You can use it. Following is the link to this plugin. https://www.npmjs.com/package/cordova-plugin-intent
If you find any issue or something else other than that functionality, you can make the custom plugin so that you will have direct access of java file from javascript.
If I understand your question correctly, you're talking about deep linking in android. The details about it can be found here
Correct me if I explain your ideas wrong: What you want to do is that you have an URL that showed up in another application (Ex: Facebook Messenger, Slack, ...) and you want after clicking it, a list of application that can be used to open that link appear and you want your app to be listed there.
But here is the problem, how can the OS knows what apps it can suggest to the end-user and what kind of link your is acceptable to your app? the answer lies in your application manifest and to be more precise, the intent-filter tag. It tells the OS what you kind of url you want and also use it to determine if the OS should suggest your app to be open by using that link for the user.
So the answer for your question about doing without editing Manifest is impossible. As for the reason why you don't want to edit your apps is unknown to me but I still suggest you to take a look at this tutorial. It still involves editing your manifest but the guide it self is clear and easy to implement.
Hope this help ^^

cannot open links sent in sms text messages

im sending links via sms
like so:
hello, please click on http://example.com/Axcsy
some of the users call back with a problem that they cannot connect,
after inspected i realized that the link has been cut after they pressed on it.
so when they press it they get to http://example.com,
when they copy paste the entire link it works ofc...
is this a known issue or some setting that they changed?
I don't know of any issue that can cause this.
All i can think of is that they didnt click on it and just copy pasted it.
Note: it happened with only a few users (maybe 5 out of thousands), it has nothing to do with model type or android/IOS version (as far as i know, i checked with users that have the same model...)
if anyone has any clue why this is happening please answer,
thanks to anyone who replys
The users are probably using a text messaging app that causes this problem. Many users do not realize that Android can have different text messaging apps - and therefore don't realize they can change them.
Some of your users may have deliberately changed it and can tell you what app they are using, and they could then tell you so you can contact the developer. Even a provider's default app may have been created wrong or has a bug.

Notifications in Notification Center disappearing after opening one of them

I have a server that sends users many push notifications at any single time. Let's say 5 notifications are send to the phone. If I open one of them, all other notifications disappears.
How do I make the only one that is clicked, disappear. I look through the tutorials and done everything correctly. Is it something to do with the badge number or do I need to assign a special ID to every notification?
I can't find any solution on the web and I am surprise no one else faces this issue.
Ps. I am using Ionic Framework to build my app
" I am surprise no one else faces this issue."
Many many people have faced this same issue, its a mystery why Apple don't add more functionality in this area after so many years, but the situation is that you can't programatically delete just a single notification. You either delete all of them or none of them.

Downloads, Shown in notification bar?

As far as I know we can create notifications in Android using Notification Manager + remote Views.
I am Creating a notification for downloading Mp3 files. And I want an animations beside It. So far I have learned from forums that it is not possible.
However I saw A video for an android App which downloads and displays animation beside it while downloading it. Link: http://www.youtube.com/watch?v=yNcs-sS2nFU&feature=related
Moreover its the same animation used by the browser. How can they do it?
If any one suggests using level drawable for me, Please also suggest still I have to send a whole remote View to the notification manager with the same Notification ID. It will override it. That gives a animation like thing if I do it again and again. Is there no way to update remoteviews without sending the changed remoteviews to Notification manager.
WHY, I dont want the above mentioned animation effect?
Because It hangs the android. If the updates are sent more faster then 2000ms.
This question is also asked elsewhere at stackoverflow but never been answered.
The answer to all our problems,
http://developer.android.com/reference/android/app/DownloadManager.html
There is a built in download manager in android.
My guess is that particular animation you are seeing (the downward moving arrow) is provided by the system. I don't think you will be able to place your own custom animation in a standard notification.

Categories

Resources