distriqt / ane-packagemanager Goto Github PK
View Code? Open in Web Editor NEWPackage Manager ANE implementing access to the Android Package Manager from Adobe AIR
Home Page: https://airnativeextensions.com/extension/com.distriqt.PackageManager
Package Manager ANE implementing access to the Android Package Manager from Adobe AIR
Home Page: https://airnativeextensions.com/extension/com.distriqt.PackageManager
AIR SDK 50.2.4.3
ANIMATE 2024
ANDROID SDK 33 / BUILD TOOLS 33
ANDROID 11
After displaying the SYSTEM authorization screen - and switching to "ON" - APP restarts - but "installing unknown apps" is granted.
ANDROID 13
SYSTEM authorization screen is showing up, but app runs and goes forwards without waiting or checking response.
Update the extension to include support for Android 64bit
Starting August 1, 2019, your apps published on Google Play will need to support 64-bit architectures. 64-bit CPUs deliver faster, richer experiences for your users. Adding a 64-bit version of your app provides performance improvements, makes way for future innovation, and sets you up for devices with 64-bit-only hardware.
If you are reporting a bug please make sure you fill out the following information, otherwise delete this packagemanager and ask your question.
I tested on Android 4.4.2 (SM-T530) and 6.0.1 (SM-T536), but it does not run normally. As soon as the app is launched, it quits.
I confirmed that it runs normally in Android 8.0.1.
It should run normally on Android 4.4.2 and 6.0.1.
It does not run normally on Android 4.4.2 and 6.0.1.
As soon as the app is launched, it quits.
Device logs if relevant
I'd like to limit the number of fraudulent purchases but I can't use a server validation system for the moment. I've seen on the net some ways to detect if an app has been downloaded from the Play Store or not. Does this ANE helps with that? If yes, is it relevant to block purchases from users that directly installed the APK from other sources, or may I block regular/legit users?
Thanks!
Hi,
we did an ANE like the PackageManager before - but we did never update it and today - it's just "old".
To simplify our work, we would appreciate - if we can use ANEs - just from one source.
For some reason we needed two (3) functions in the past - which was not or not easy made by AIR itself.
start another app (can be done by intent, but we did it over ANE by sending package and name)
(MyANE.startApp("com.myapps.theme.myspecialapp");
restart app (kill process and start package again)
(MyANE.restartApp("com.myapps.theme.myspecialapp");
stop app (by sending package and name, kill process)
(MyANE.stopApp("com.myapps.theme.myspecialapp");
The restart is the most wanted function - what we need.
I only use this call in Package Manager:
PackageManager.service.getInstallerPackageName();
Question: is the "REQUEST_INSTALL_PACKAGES" permission really needed
to use in this call?
I ask this because now Google is more annoying with apps that need the permission : REQUEST_INSTALL_PACKAGES
And I would even take out this permission, but I get this error when using this function of this ANE.
Can I continue to use this call even without this permission? (and returning this error, but working)
Or I need this permission?
Thanks a lot. =)
Just configured a fresh project and i get this, any clue @marchbold ?
d:\APM>apm generate app-descriptor src/MyApp-app.xml
Android package name: air.ro.fxstudio.agenda
⣾ Android manifest merging
✗ Android manifest merge
generate/app-descriptor :: d:\APM.tmp909608\AndroidManifest.xml:4:5-74 Error:
uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library d:\APM\apm_packages\com.distriqt.firebase.Auth\contents\platforms\android\firebase-auth-23.0.0\AndroidManifest.xml as the library might be using APIs not available in 21
Suggestion: use a compatible library with a minSdk of at most 21,
or increase this project's minSdk version to at least 23,
or use tools:overrideLibrary="com.google.firebase.auth" to force usage (may lead to runtime failures)
It happens when I target app to sdk 30 in android manifest and install it on android 11(sdk30) device.
Targeting to sdk 30 and installing on android 10 and lower devices works fine.
Targeting to sdk 29 all seems to work fine in every way.
Open app settings to check install from unknown source. After that it needs to jump back to main app.
Open app settings to check install from unknown source. App shutdown itself just after I press the install unknown source button.
I have harmann licence, sdk 33.1.1.633, Adobe Animate.
No logs, just silent shutdown
Device logs if relevant
I really need this method into your ANE.
Earlier I used https://github.com/jakehilton/PackageManagerANE
But after mitrition to AIR SDK 33 + 64 bit I can't use it.
This method is into https://github.com/myflashlab/packageManager-ANE
But I use many your ANEs. And I don't want to use ANEs from different develpers into my app.
Can you integrate this methods (getUserApps and getSystemApps) into your ANE?
Hello.
I'm using your ANE to install an additional java apk from my adobe air application on android devices.
It's working fine on samsung s8(android 9), lenovo tab p10(android 9), but no success on my older devices: samsung note p600(android 5.1.1), huawei mediapad m2 10(android 5.1.1) or even on samsung s8 (android 7.0).
On the working devices settings can be opened to check "install unknown app"-"allow from this source" and after that my secondary app can be installed, but nothing happens on the older android versions devices. My samsung s8(android 7.0) displays an error: "Package installer has stopped".
I develop app with air sdk 32, starling 2.5.1, feathers 4.0, also i'm using your permission ANE.
Min sdk target 17, target sdk 27.
Thank you,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.