How to add timer inside local notification using capacitor local notification plug in - notifications

I want to add a timer inside local notification using capacitor local notification plug in.
I have gone thru all the documentation and searched everywhere on net but I could not find the solution.
Please let me know if it is possible?

Related

React native agora remote user video not showing in iOS when call answered from application not running state

I have implemented the agora in my react native application by following the library documentation and also referred to this link.
I am able to see remote user video and local video in the application when it is running in the foreground state.
The main issue I am facing is when the iOS application is not running state. When I took the call in not running state, I can view my local preview but the remote user video is not visible in the app. But the remote user can see my preview, which means the channel was established successfully.
I tried setting fixed width and height to
RtcRemoteView.SurfaceView
but no change in result.
I am not able to figure out what I am doing wrong. So please help me to find a solution here.
Thank you !!
React Native: 0.62.2
Agora: 3.5.1
I would recommend using the Agora UIKit for React Native, it will take care of a lot of the work for you. The repo you've linked to hasn't been updated in almost a year now.
The UIKits are across 6 platforms, and updated all the time.
Max
The mirror mode is by default enabled when using the front camera and disabled in the rear camera. If you want to enable the mirror mode on the local device, please update the _renderVideo as following (highlighted part)
please use mirrorMode={VideoMirrorMode.Enabled} in RtcLocalView.SurfaceView
Please let me know if this helps or not.

How to do auto synch to make app work online and offline

How to do auto synch to make app work online and offline
You can use Core Data for local storage.
You can do the upload functionality whenever the net is connected by using NSNotificationCenter in the Reachability code.
Please refer the Reachability class sample code from the apple developer site.
https://developer.apple.com/library/ios/samplecode/Reachability/Introduction/Intro.html

Windows 8.1 : Create "silent" toast notification

I'm working on a Windows app and integrated Toast notification in it. Paired with an AWS SNS service, it's working fine, I can successfully receive my notifications.
My notifications are used to fire events when the app is launched, it's not designed for final user. For this reason, I don't need any banner or display for these notifications: only handle the event in the app.
My issue is, when the app is killed, Windows displays a banner (top right corner) for any new notification. I found a way to disable banners directly in the OS, but I would like a solution when pushing the notification (backend side).
I already did it for iOS, kind of 'silent' notification, without any alert, sound or badge, but can still be handled by the OS.
I would like to know if there is any way to do that on Windows too? Like any extra arguments I missed or a dedicated template for that.
Thanks
I finally found a way to do that.
I changed from Toast notification to Raw notification (a push notification that does not involve UI). (MSDN - Documentation)
After that, I had to customise my AWS SNS notification wiht MessageAttributes to change the type of my WNS notification (AWS - Documentation).
I've also noticed that we can directly suppress the Toast UI on Windows phone with "X-WNS-SuppressPopup" param, which can be also very helpful. (MSDN - SuppressPopup).
Finally, inspired from AWS Baidu Push notification sample code, I did the same for WNS platform, adding all new arguments I needed, and it works great at the end.
Hope this can help someone else.

WP push files to device over company app

With a company App configured on a Windows phone there is the posibiltiy to push the installation of an App. When the user starts the pushed App some configuration data must be introduced. I would like to save the user this step but I still don't know how. Isn't it possible to push files over the company App/Exchange, as it is on a Windows machine? So I could read the configuration out of this file.
your use case does raise many questions (probably just terminology)
The only way to push an APP to a device is through the Windows Phone store or website.
If you want to push configuration to a device for an app then the app must be run at least once to enable that ability and you could then use a background task to periodically check for new configuration and download it.
The other thing you can investigate is push notifications but they are not really meant for pushing data, you can sent simple objects or data to the device as a raw push but the app must be running first.
The most common way to achieve what you describe is to have the app load config at launch, locally first and then update it from a web call (if web is available, as these are mobile devices you can not guarantee connectivity). We do something very similar with AdRotator where we try to download config at start and if that fails use a locally cached version.
As of WP 8.0 there isn't the possibility to push Apps or Files through the company App.

Does Titanium have method for "didReceiveRemoteNotification" of Objective-C?

I would like to receive remote push notification when the app is on the foreground. I think I can use "didReceiveRemoteNotification" in Objective-C, but how about in Titanium? I've been searching solutions but can't find anything. Does anybody help me out?
Titanium currently only supports local notifications (by default) I believe. You might want to take a look at AppCelerator as a solution.
Sorry, i was wrong last time. It's very hard to find but Titanium supports a way of interacting with PushNotifications.
Please take a look at Ti.Network.registerForPushNotifications. It provides a callback that is executed when you receive a Push Notification.
The other posted solutions below may provide a better integration for titanium so it's up to you what you want to use. But this should answer your original question.
Unfortunately Titanium only supports local notifications on iOS. If
you want to support remote notifications you can use
Urban Airship
ACS (Appcelerator Cloud Services) or
you write your own module that provides "didReceiveRemoteNotifcation" as an app event to your app
As far as i know you can only listen on local notifications by
default but you can try this method if it reacts on remote
notifications..