I want a way to put a password before uninstalling the application android 6 and higher.
Where if the password is added. The installation is don .
or canceled if there is no password.
No, I don't think you can achieve this as you can't perform code at the moment your app is uninstalling.
Uninstalling the application is more like a system level action and you don't have permission to customize it.
Refer:
Perform a task on uninstall in android
AND
How can an app detect that it's going to be uninstalled?
Related
We Added the ATT(App Tracking Transparency) into our latest Application release, and everything worked fine except for one thing.
When our users try to download the application in the App Store through the Apple Ad specifically, the ATT permission isn't prompting and the data tracking permission is set to disabled by default.
When we try to download on the same device not through the Apple Ad, when we ran the application we see the ATT permission when we launch the application
If anyone has any input or value to add for this issue it will be very helpful and appreciated.
iOS seems to cache the ATT permission for a while.
Try to restart your iOS device after the app was installed via "apple ads click" and then removed.
After the reboot of your iOS device and installing the app from app store the permission prompt should appear.
My permission appears again after I restart my device as #Jochen Holzer suggested.
Note: The permission always appear after uninstall > install in my colleague, but restarting the device is needed in my case. I assume that we have different version. Mine is 14.4 and hers is 14.1
want to upvote his answer but I lack of point
Is there's a way to Reset the Permissions that I’ve already chosen?
I have denied the permission for notifications for some tests, and now I want to ask for notification permission again.
Is that possible?
I’m using the app on Expo app emulator on iOS.
**Update: I found a way by uninstalling Expo app, then reinstall it back, but it's not practical.
The best option without reinstalling in this case is to access the "Settings" menu in the phone/emulator you are using.
You should have an "Expo" item on which permissions ares shown
Example permissions menu for Expo:
I have tried to look for this but cannot find this in the documentation.
I saw that with by installing a different version in Testflight, the App Install event is being logged in the Analytics. However, I'm not sure if it will also be logged once the users update the app in the Appstore, of if it just logs when users Installs (by previously uninstalling the app)
Can someone please help?
Thanks in advance.
In general our SDK is smart enough to avoid sending duplicate install events including App re-launches and upgrades. To be crystal clear Install event is really a first app launch event on the device. To avoid duplication we store some flag in app internal storage indicating did we successfully sent the install already. Saying that, in rare cases, such as when App package name was changed or internal store was cleared or some when this flag was not carried during upgrade, our SDK will attempt to send again new install event. Lastly, we have a proper dedup logic for SDK installs on our backend (App Version is not playing a role here).
The App Install event is only triggered once on the first launch of the App. After that, the App Launch event will be triggered. It will not track an app update as a new App Install event. Check the automatic App Event collection definitions here.
I'm building an in-house app that is distributed via the AirWatch app catalog. The app always runs with Guided Access enabled and all devices running it are managed by AirWatch. My questions are regarding auto-update:
Is there a way that AirWatch can force the update immediately or as soon as the device comes back online, without asking for the user's input? If so, how does the app being open affect this behavior? How does guided access being enabled affect this behavior?
Is there a link from AirWatch, perhaps an itms-services:// link, that the app can call to install the new version if a web service had indicated that it's no longer the latest version? If so, how does Guided Access being enabled affect this behavior?
Is there any other good model for remotely updating the app that will spread the update as quickly as possible and under the above conditions? The solution can be using MDM or a custom web service or both combined.
Thanks a lot for your help!!
If your devices are running iOS7 and you have your app Deployment settings set to "Auto" (as opposed to "On-Demand") the device will automatically take the update once it processes the APNs notification to do so. If the device is locked/offline it will typically check for outstanding APNs messages within a minute or so of being unlocked or coming back online.
What I don't know is since your app is in guided access mode if you're receiving a pop-up to install the new version. I've seen previously where if the app that requires an update is open iOS will prompt. What we have done to battle this is embed a check in the app that phones home to see if the app is current. If the app is NOT current the user can't do anything until they update their app.
Regarding a direct-link to the App Catalog to update the app that might get tricky with guided access enabled. Before you even try to tackle that issue understand that the app catalog webclip URL contains the UDID of the device as of AW7.1 (I think). Since the UDID is no longer programmatically accessible code-side AirWatch allows you to push the UDID upon app installation in the Deployment/Application Configuration section. You can embed {DeviceUid} into the key share on the device which will make it accessible for that applciation, hence allowing you to create the appropriate App Store URL within your app.
Good luck
honestly I didn't work with AirWatch. But I don't think that Apple provides a way for automatic update of ad-hoc or enterprise apps.
Well, I can describe a solution for an enterprise app I developed last year. Hope it will help you somehow.
First of all, I made it as a part of our secure website. (a little test flight)
Here's how app update works
When the app launches it sends special request to a server asking if
it is outdated and a new app version is available. (+ servers sends
url for new version installation (with itms-services://))
Then
if update is required, app fires alert with description of new
version, if user taps update, the app opens Safari where the user
is able to install a new version.
We made to different kinds of alert, optional (minor version change) and compulsory(major version change). With later variant user is unable to get rid of alert view, so he has to update the app.
You can update your internal app through the AirWatch Console and applications versioning.
I never used it but I imagine that at the end of the new version process, there is a way to push the updated app to the related devices. If the Push Mode is set to Auto, the user won't have to do anything and the app should be updated. If it is On Demand, the use will have to initiate the process from the App Catalog. From for the latest option, you have the solution to send a notification to the user.
It is also possible to retire or inactivate older versions to only keep the newest one.
If you have access to AirWatch Online Documentation, I recommend you the page Using Add Version for Applications. If you don't, contact your administrator and ask for all the pages located in Mobile Application Management -> Internal Applications and the page Using Add Version for Applications.
You should try it with a single device though ;)
I've been experiencing unexplained connection issues with my BB app. This only happens on a Curve 8520, and only on some of them. There is no noticeable pattern so i cant determine what causes it. The app prompts me to check my internet connection even though all other apps / browsers are working fine.
The only solution is to do a manual hard restart after installation. This solved the problem and the app runs seamlessly 100% of the time.
Is there a way to prompt the user to restart the phone after initial installation has been completed? Ex. Like some RIM products, after you've installed it prompts you to restart now or later, if you select yes it does a complete / hard restart.
AFAIK when a BlackBerry application is set "Run on startup" it runs automatically as it is installed.
And you may use requestPowerOff method of Device class to turn the device off and automatically turn it on (this is controlled by the method parameter).