How to implement authentication in Apple TV with TVML - tvos

I'm developing an Apple TV app.
It's almost done, but we need to add authentication function in this app. Like Youtube and HBO, TV will show a digit code, and user needs to go activate website in their PC to link with their own account.
This Apple TV app is using TVML templates to build.
I'm really confused to do this, and don't know where I should work on first.
Anyone has any ideas? Thank you!

It depends on your subscription model. If its cable based subscription service that allows you access to the content you get on TV based on your cable packages, then you need to use Adobe's service called Adobe Pass. More details on adobepass can be found here:
http://www.adobe.com/marketing-cloud/primetime-tv-platform/authentication.html
Advantage of AdobePass on TvOS devices is that it allows for single sign on across different apps and once authenticated, the user doesn't need to go through authentication across all apps using AdobePass.
If its something similar to HBO Now, YouTube, Hulu, Netflix, etc, which are standalone subscriptions and not tied to cable packages, then you can directly have a Login ViewController in the TvOS app that communicates with your backend and authenticates the User.

Related

HTML5 website running while phone screen is off?

Basically, my question is the same than this topic but it's now 2018. So, how can I still have ECMAScript executed on my phone (to send geolocation position) even if it is asleep? We now have Open Web Apps and Progressive Web Apps (PWA) with service workers, even Apple is jumping in, I'm sure there are ways to do that.
While we can hope that things should've changed on this, unfortunately, it has not.
This article from Google on PWA GeoLocatoin API dated Jan-2018 says clearly that this API works "only while the page is open".
Why not available yet (in my opinion)? Thinking of users privacy, it makes sense. Think of tons of wep pages we visit and for how many we tend to five permission accidentally or we intend to give for a while(until we finish some transaction/booking). Currently there is no way for us to go and check on all location permissions that we've given to web sites in a browser, like we do for Native/Hybrid apps and having option to change it.
We can expect to have tracking option for PWA when it is installed to home screen, where native app like permission handling will be possible to user.
End of the story, we are not there yet!!
Alternate option: While you can use navigator.geolocation.watchPosition to track the user when he is actively using the app, You can complement your app with a separately installed (Native) Android service to update the users location to your back end server, till PWA supports naively.

How to see other users in indoor location app built on estimote sdk

I have built an indoor location ios app using Estimote SDK and its working fine. Now I want to see all the users in same location to be able to see each other in App.
Any suggestions on how to do that. Please comment and let me know if anything is not clear about the question
Here's one example how we did it using IndoorAtlas & PubNub service. Does not require any logic on the server side and allows you to tap into the location stream from several different types of clients such as mobile or browser. You should be able to do it in similar way using Estimote.
https://github.com/IndoorAtlas/android-sdk-examples/tree/master/Basic/src/main/java/com/indooratlas/android/sdk/examples/sharelocation

Adding Google Analytics Tracking To BigCommerce App Store Listing

I have an app on the BigCommerce app store. I'm trying to set up conversions on Google Analytics, and I need to install my tracking code to the app store. I need to do this because users are bouncing off the app store portal before installing my app.
The url I am directing people too via my own site is:
https://apps.bigcommerce.com/details/85
Is there anyway to add the tracking code to this via BigCommerce's dev portal? Or does anyone know a way around this?
Thanks!
The BigCommerce Marketplace doesn't currently support GA tracking (or any third party tracking scripts).
We're working on building out more tracking and insights for our app partners though, so keep an eye out in the future for access to that kind of data.

How to display a notification in adobe air for android

I want to display notifications in my Adobe Air App for Android using Adobe Flash and Action Script 3.0 .
I want to use notifications for reminding people to update my app when a new version gets released, so how do I do this?
Thank you.
As DefinitelyNotAPlesiosaur has mentioned, using an ANE is the way to go.
You can find some free ANE's to use here:
http://www.riaxe.com/blog/200-adobe-air-anes/
but I would highly recommend district as they publish multiple well documented ANE's with example files and offer excellent support.
http://airnativeextensions.com
It sounds like you would need either Notifications or Push Notifications if your message was to appear when the user is not using the app, or Dialog if the message appears whilst the user is using the app.

How to prompt user to turn on Location Services using adobe air

I am developing an app that uses GPS, so typically the app must prompt the user to turn Gps on if it is muted.
So is there a way to open the Location Services menu from inside my app using adobe air?
I would imagine an ANE would be required for this.
Perhaps contact Distriqt to see if they would consider adding the functionality to one of their existing ANE's ?
http://airnativeextensions.com/extension/com.distriqt.NetworkInfo