I wish to perform Enterprise Wipe on devices with Work Profiles. Essentially, this would enable admins from my company to remove all corporate-related information from a device without disturbing the individual's personal data.
I am aware a topic exists on this already: Wiping data on Android: Device Admin versus Profile Owner
However, the topic talks about factory wipe and I certainly don't wish to do that. Any hints on how to accomplish this task?
Performed research on android forums + documentation and could not find the solution.
You can call enterprises.devices.delete on a work profile. It will wipe and remove the work profile without touching the personal data. Which seems to be what you're looking for.
It's actually the only wipe possible for a work profile, it's not possible for the admin to wipe the entire device when it's set up with a work profile.
Related
I like to add a new device to a development provisioning profile.
I know how to decode information from a provisioning profile (an example of it is in https://maniak-dobrii.com/extracting-stuff-from-provisioning-profile/).
I've also looked at Apple's API (https://developer.apple.com/documentation/appstoreconnectapi/profiles) but using that, we'd have to delete an existing profile, and then re-create a new one with an added device.
What I like to do, is to read all the capabilities, entitlements (basically a "clone" of an existing provisioning profile), and "inject a device" in its array of devices.
Obviously this can be done on developer.apple.com, but I'm looking for a solution without involving that.
What I thought would be the best way was to unpack the existing provisioning profile, just add a new device to the decoded xml, and re-encode it. This way we don't change anything, but the devices.
Is it possible to do such thing? Or can anyone suggest a better (and working, if my solution won't work) way of doing it?
Thanks a lot in advance for all your helps
I would like to offer a 7-day trial period for people who install my chrome extension.
After that, they would be required to input a licence key (purchased via gumroad) in order for the extension to continue to work.
I do not want to deal with registrations (emails, passwords etc.). The big risk is that the user simply uninstalls the extension when the 7-days are up, and then reinstalls it.
How do I offer the trial and avoid this scenario? Tie each install to a specific IP address perhaps?
Unfortunately you do have to deal with some sort of registration.
User installs app
Have them log in/register to start using it
There's an article about it that might help you with it, ideally using the user’s existing Google account instead of registering a new one: https://developer.chrome.com/docs/webstore/identify_user/
I have a certain online application that generates reports(and prints them) based on some repository of information. Now I would like to make an offline application which is provides the same experience and in which the repository is pre-loaded into the users' computer. What is the best way to convert this online app to offline app. The first thing that came to my mind was setup a local server and database. This ensures the experience is consistent. But I'm open to other options, such as storing the data in a file system and then loading it via flash/flex based apps or C# or Java. The objective of this offline app is to provide the functionality(report generation) to users where internet is not feasible.
I am not sure about the windows aspect of your question, but if I was doing an offline web based page(s) I would be looking at a LocalStorage database (though it does have some downsides), but there are other alternatives such as WebSQL and IndexedDB.
If you have reports, do they still have value when they are out of date? Do you need to store the configuration of those reports or is it all just read only?
Shameless self promotion, I have a project that is designed to handle database synchronization, though it's not done, it's close. You can see it (with an ugly but very functional) demo at https://github.com/forbesmyester/SyncIt
Background to this problem: Within out company we are working on an add-on to help us do some nifty things. To make it easier to administer we would like to have a password required to at minimum remove the add-on, but probably also to disable it.
I've seen this achieved in for example Public Fox but this is non-sdk style add-on. So my question is if there's an easy way to do this using the SDK? I've looked through the docs but I haven't found anything, probably because I don't know what I'm looking for.
To anticipate the question "why not use that add-on as well?" I think it's enough of a hassle to make sure everyone has one add-on installed, let alone two.
If you want to lock users down, what you're really looking for is a deployment technique where your Firefox deployment installs your extension by default, and to an area of the hard drive that the user does not have write/delete access to. See the Mozilla Wiki for more details on ESR builds and enterprise deployments:
https://wiki.mozilla.org/Deployment:Deploying_Firefox#Firefox_Customization_.28CCK_and_Repackaging_Tools.29
Is there any Remote wipe application which will be working on deleting the data in Emulator by sending an SMS from other emulator?? I found some of the free applications in android market on Remote Wipe.. But they are not working..
Please let me know if any of the application is working on Emulator
Thanks in advance
Uday
There is just one remote wipe application I have come across.
I have been trying to write one such application myself but I believe the permissions required are 2nd level and 3rd level permissions (check this link and this link). Thats is the reason I am unsuccessful as yet. I believe that you basically need to sign the package with the same signature as the OEM manufacturer to be able to grant those packages to your device.
If by an stroke of luck you do happen to make one successfully, please let us know the permission you have used to make such a thing possible! =)
Regards
Shouvik
EDIT: Okay I supposed I am wrong. I believe in android 2.2 it is possible to remote wipe your. I have not completely understood how to implement the function or the class yet, I plan to work on it as soon as I can spare some time. :)
Reply:
Well I have been looking at the SDK for some time now, and I can confidently tell you below 2.2, I am pretty sure there is no way I know of to remote wipe your data. I have although read on the mailers list that there is a function that enables a third party client to create a remote wipe application as you may have seen in my post above. I have actually use my own port of android on a device and have just used the brick, but if I do come across any reference that can show how you could achieve what you desire, I would be happy to leave a post here. Regards Shouvik.
Links
http://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#wipeData%28int%
also for formatting the SD card I came across a permission that you can request, I guess you follow that you end up at the method.
http://developer.android.com/reference/android/Manifest.permission.html#MOUNT_FORMAT_FILESYSTEMS