You've reached the device limit. Some features will not be enabled. Android Things OTA - android-things

I have done Android Things OTA remote update 4 times and it was successfully happened. But this time it is giving error which is
"You've reached the device limit. Some features will not be enabled"
I do not know why it is giving me this error. Due to this I am not able to do the remote update.
If anybody knows this or any idea, please share.

The issue has been raised at the Google's issue tracker. There was stated the following:
You can continue to use the Android Things Console for development purposes. Functionality like OTAs will continue to work.

The 100 device limit is noted in the Android Things terms of service (Section 1.1):
Subject to the Terms, Google grants you a limited, revocable, non-transferable, non-exclusive, right to (i) access and use the Android Things Console and (ii) install the Software on up to 100 devices per product owned or controlled by you for the sole purpose of internal development and testing of devices that have integrated the Software.
I would also recommend reviewing the latest information on the FAQ page to learn more about the Android Things platform status.

Related

NISession() returns error - Apple Nearby Interactions

I have downloaded the Nearby Interactions project that Apple released here. When I try to run the application I get this error
I have not modified the original project and there is nothing in the ReadMe that details extra setup configuration. Only that certain devices can be used.
There are no logs to accompany this and so I'm not quite sure on the cause of this. I see others have been able to run the project and so wondering if anyone has any insight into this
Running on an iPhone 14 device
Also, as a side to this, if anyone has any example app they have built with Nearby Interactions but in SwiftUI I would love to see how you integrated it in.
Thanks!

Block app install from AppStore and app delete using Swift

I am aware that we can block safari content using swift code. I am interested in finding out if we can restrict install of certain apps from AppStore using similar approach ?
Also, is it possible if we can restrict a user from deleting the app from device (not from phone settings but from code) ? Even if Apple does not allow that to publish such app, I am looking for a solution as a part of research.
There are two things you mentioned.
First, can restrict install of certain apps from AppStore
Using Swift code I feel there are no Public API provided by Apple for the developer till now but there is a similar way that is called Device Enrollment Program.
The Device Enrollment Program (DEP) is part of the Apple Deployment
Programs (ADP), which help businesses and educational institutions
easily deploy and configure iOS and OS X devices. DEP provides a fast,
streamlined way to deploy institutionally owned iPad and iPhone
devices and Mac computers that are purchased directly from Apple or
participating Apple Authorized Resellers or carriers.
For more visit this developer guide.
Second: restrict a user from deleting the app from device
Same response for that, till now no Developer API, but lets say if we see this as a part of research and we develop some POC still, it does not make sense for me at all (It's my device and I install the app for making my life easy and better if I don't want to use it anymore, I need an option to delete it) and I don't think so this will be possible in future as well because the USP for iOS device is user experience and we can't make this like that.
I also want to hear something from others and if possible give the use case why you are looking a solution like that.
I hope this will help.

Not Verified Enterprise Developer Message Reappears in iOS 9

I develop an enterprise app that I have installed onto a group of iOS 9.1 and 9.2 iPads.
I have trusted the profile after app installation (e.g. following the steps in this question: iOS9 Untrusted Enterprise Developer with no option to trust) and the app was working fine.
After a few days / weeks, the "Untrusted Enterprise Developer" pop up starts to appear again when the app is launched, and in Settings->General->Device Management the app shows as 'Not Verified'
Has anyone else experienced this / is there a way around it?
I'm not currently sure if there is specific steps that cause it (e.g. a specific amount of time has passed / the unit has been plugged into a Mac / etc). I'm trying to work that out at the moment.
EDIT: I've made some edits to the original question. I have now realised that the app is still trusted, but is no longer verified (I didn't realise before that there was a difference between the two).
The following screenshot is from the Device Management section on the iPad. This is taken several days after the app has been Trusted and Verified; and was working without issue.
I have raised a bug report with Apple, but have not heard back yet.
We have the same issue with several thousand iOS 9.2 iPads that have enterprise apps installed but don't have continuous internet connectivity due to spending their lives on isolated networks or in flight mode.
Our testing suggests that despite the Apple documentation at https://support.apple.com/en-gb/HT204460 saying clearly that "This developer remains trusted until you use the Delete App button to remove all apps from the developer.", this is in fact not the whole picture.
It seems the validity of the signing credentials is periodically re-validated (presumably to check for revocation) and if that re-validation fails for any reason or can't be completed, the developer reverts to its un-trusted state and the app will not launch.
Replication is tricky as it's not quite as simple as rolling the date forward more than a month but repetition of that twinned with continuous usage and relaunching the app exposes the problem. We haven't yet found a mechanism to force this re-validation on demand. Both iTunes and MDM installed .ipa files display this behavior. The manual trust within the UI and the implicit trust given by pre-installed certificates seemingly work the same way behind the scenes.
We're about to start testing the behavior on the new betas but that conversation can't be continued here.
We are experiencing exactly the same problem....very frustrating indeed.
I work for a company with 10,000 + iPads deployed through a popular MDM platform, since roughly November 2015 an increasing number of our iPads have been displaying this message when a user attempts to open any of our internal apps. We advise a workaround, which works for roughly 24 hours. After this time, the message reappears.
Our iPads are connected to our own secure corp wifi, this network is unable to communicate with apple due to apple.com being block on our firewall. Pre November, when an untrusted developer message appeared, we would advise the user to connect the iPad with an open network, close the app and re-open. The app would open and the message would not longer appear.
I have since discovered, the iPad needed to communicate with a specific apple url to authenticate or renew the developer operational certificate, this url is ppq.apple.com. Currently this url is down which means the server that authenticates certificates is offline, hence the repeat occurence of the untrusted developer message.

Detect if user has a specific Profile installed on their device

I've come across this application today, Adblock Mobile, which installs a Profile on the users device and routes all web traffic through its secure VPN to disable/block advertisements both when surfing the web, and when using an application that implements advertisements, for example banner or interstitial ads. The majority of my applications revenue is ad based so this causes some concern for me and I'm actually surprised Apple would approve this application, as it hinders iAd from working as expected.
Is there a way to access a user's installed Profiles to check if this Profile is installed from my application?
No, it's not possible to check for existence of configuration files. Some sources:
"... if you're thinking about checking whether the profile exists and if not to install it, it's impossible (as for available documentation thus far)", October 2012, iOS - Prevent iPhone Configuration Profile from being deleted OR check to see if it's installed
Apple dev forum: How can I read the configuration profile, 2011. "Not specifically. However, iOS 7 added a bunch of enterprise integration features that might allow you to achieve the same goal via a different path.", 2013.
But you if you merely want to know whether your ads are served you can do this in another way: Simply try to load some of your ads and see if they're actually loaded and act accordingly.
This should be easy to implement. And it's all you need you only care about the fact that the ads are blocked, not in what way.
Quite a few websites do this. E.g. the Dutch tech website tweakers.net serves a message to people who block ads. And I'm sure a few iOS apps will start doing this soon as well.
Check this SO question How to detect Adblock on my website? for some ways that websites handle this.
No this is not possible due to sandbox. It would be a huge security issue if you could programmatically check or install profiles. Apple is very strict about security.
More details about the topic you can find there: iOS - Prevent iPhone Configuration Profile from being deleted OR check to see if it's installed
Retrieving data programmatically from a Configuration Profile in IOS
How Configuration Profiles Could Be Installed:
http://www.howtogeek.com/176195/why-configuration-profiles-can-be-as-dangerous-as-malware-on-iphones-and-ipads/

Why isn't my app showing up in the Android Market?

I uploaded my app this morning, I *THINK I've satisfied all the requirements for uploading. The app shows up as active in the developer console, but I can't find in in the market via the phone or computer internet version of the market.
Now I haven't done much with the permissions yet, but in the console it shows that the app is compatible with 611 devices including my droid x.
Still, I would think it would at least show up.
Is there generally a delay in the publishing? From what I've seen it should be pretty much instant.
It's also not showing up by using the link format market://details?id=.
Otherwise, can you think of anything I could be missing in the app to keep it from showing up like this?
This is my first time publishing, so try to think back to the elementary concepts of publishing lol.
25 October 2011 - Recently published apps not appearing in Android
Market We're aware of reports from some developers that apps recently
published don't appear in Android Market. This issue is impacting both
app searches and when viewing a developer's app catalog on both mobile
devices and the web view of Android Market. We're investigating this
issue and are striving to resolve it as soon as possible.
Lol well there's you're problem... That's so my luck. I upload my first app, have no clue what i'm doing and then turns out the market broke, and I was doing stuff right. haha go figure

Resources