IBM Worklight : Flow of sample Push Notification project seems wrong on windows phone - push-notification

I am running the sample push notification hybrid project provided by IBM in windows phone environment. When the app starts, the screen with the four buttons loads up first. Is this the normal flow for the app or should the login page load first followed by the page with the four buttons ? I didn't face this issue while working on android environment.

The sample application for push notification does not come by default with the Windows environment. It comes with the Android environment.
To force the application to start with a login screen also on Windows you'll want to protect the application with a security test.
Open application-descriptor.xml, find the Windows environment element and add the following attribute: securityTest="your-custom-securitytest-name" (like the Android environment).

Related

Test dynamic link on iOS without publishing first to the app store

My flutter project is using firebase_dynamic_link package. I followed the instruction to register both my android and ios app on the firebase console without any problem. I've tested it out on android and it's working fine, opening the app I have running.
On iOS, I was expecting it to open the app I have running on it, instead I just get redirected to a preview page link.
Is it not opening my ios app because :
It's not yet published on the app store ?
Or is it because of an error in setup?
You can disable it in Firebase Console when you create/edit the dynamic link.

Pushsharp push notification only works with Sandbox and not production

Hi all I am new to iOS development, I have put in the deep end to get push notifications. I found pushsharp and was using this tutorial
Tutorial I a using
I have used a windows application instead of web application and added the latest pushsharp. The code build and runs and I can get the push notification but only on sandbox.
I build my iOS app
Open the ipa on my iPad in xcode to install
once installed open the app and select allow to allow remote notifications
Get the device token when the app is opened and stick it in my winforms app
send a push using push sharp and bada bing bada boom it works like a charm.
I want to be able to use my production certificate as well. So I created a provisioning profile for App store. Created a signing request, created a certificate and in my provisioning profile section on apple portal i can see my new provisioning profile
I am able to build my iOS app successfully however when i try and install the ipa onto my ipad i get an error
App installation failed
a valid provisioning profile for this executable was not found
Is there a step which i have missed? Why do i get app installation error.
What will happen if I release a app which is using devcertificate to show push notifications?
You can't use a distribution provisioning profile to run the app on your ipad directly.
The iOS Distribution certificate can only be used to build an app that will be installed via the App Store.
You need to use either a development profile, or an enterprise distribution profile to install on test devices.
If you want to test a beat version, you can test the app using TestFlight.
Here are some way to test a beat version.
What will happen if I release a app which is using devcertificate to
show push notifications?
You have to use a production push certificate to push notification in release mode.

Open Console Application inside Unified Service Desk

I have a requirement where i need to open a Console Application inside Unified Service Desk v4.1.
The issue with me is I am able to open the console application inside Unified Service Desk, However I am unable to write anything inside it. The console application is just appearing as an image inside USD.
So, how can I open the console application inside Unified Service Desk and make the Console application work?
Console application is actually hosted using CCA application. The issue with these applications are once opened, then they become unresponsive.
1. Create a UII Windows Forms Adapter
2. Trigger the process and execute your console application
3. Using Win32.dll setParent Command, pull the application inside your Adapter and that would be it.
Hope this will help

Receiving windows push notification in a desktop app targeted for windows 7, 8 and 10

I have a windows desktop application for which we have existing client using it on windows 7, 8 and 10. Now I want to register this application to receive windows push notifications from a cloud service.
MSDN says that the CreatePushNotificationChannelForApplicationAsync API for asking channel URI is only available in windows uwp applications.
I read regarding desktop bridge technology. But, it says that then the converted appx bundle should have minimum target version Windows 10.0, build 14393i.e. anniversary update. But we have clients using our application on Windows 7 and 8 too.
We thought that we could have a no-GUI windows uwp application running on win 7 and 8 like a service, and give us the messages we received from cloud service by some IPC mechanism. And then we can launch that uwp application by its AUMID when client starts our application. But, that also seems impossible as there is no option to have a uwp command line application, also it is not possible to have win uwp app running and displaying its icon in windows tray.
So, is it possible to register for push notification in a desktop application targeted for windows 7 and 8?
If you did not want to convert your desktop application to UWP app, you would not be able to use this API. The push notification relevant functions are the new features in universal windows platform. It's not available in the old windows version. So, it's impossible.

IIS open file on Active User's Desktop

Here is situation:
I have a large collection of videos on a computer, and it will be hooked up to my TV. I would like to make an app to open my videos on my computer from my mobile device (Yes, I know it exists, I am just working on it for fun)
So I have setup a web service, and an app to consume said webservice. The webservice gathers a list of folders/files, and sends them to my device as well as can take in a file path and open it with the default program using System.Diagnostics.Process.Start(path)
When I am using IISExpress, it works fine, but I would like to use IIS. When I use IIS, I open the video file and hear it playing in the background, but it doesn't show up on the monitor. VLC appears in the task manager, and when I kill it, the sound stops.
I'm assuming the issue is the identity under which the app pool is being run, but when I tried to change the identity, it didn't make any difference. If it helps, I am running Windows 8. Does anybody have any thoughts on how I can make the app pool run under my identity, or open the process on the desktop of the active user, rather than open it under the app pool's name?
This is something rather difficult to implement due to Windows session isolation. IIS as well as its worker processes are in session 0, while your logon session is usually > 0. Via native Win32 API it is possible for something in session 0 to launch executable in other sessions, but I don't think it is worth the while.
Please use IIS Express, as it runs in your logon session directly, and don't need to cross the session boundary at all.
With regards to the Process.Start() problem I think in addition to changing the identity of the application pool you also need to go to Services under Administrative Tools and check the box "Allow the service to interact with desktop" under the Log On tab for the World Wide Web Publishing service. I think this has already been addressed in the following question: System.Diagnostics.Process.Start not work from an IIS
Now, if I had to put an app like this together I would try I slightly different approach: in addition to what you have already, I would build a small desktop app that autostarts and sits in the system tray when you log onto your desktop. It will listen for messages from the asp.net application on named pipes or tcp or something similar and start the processes from within the correct user context. That seems a more stable approach, which will also allow you to separate the web server from the desktop where the videos will be played.

Resources