How to download the translation modules while installing the app from play store? - google-mlkit

I am using Flutter and I want to download the translation modules while the app is installed from play store.
Right now the app only downloads the file when a translation is called but I want them to be downloaded with the app to make it offline.

This is currently not possible but please do file an enhancement request with details of your use-case (the latter can help the product management team prioritise the request).

Related

Upload pre-installed app to playstore shows error

While uploading app on Google playstore, we are getting below error.
You need to use a different package name because [pkg_name] is used by
a pre-installed application. To upload a pre-installed application,
please contact Google Play Developer Support.
I am sure that mentioned pkg name is unique, however we have pre-installed this app in some of devices. Now how to upload it to Play console ?
I got this solved by using contact support team of Google, They then contacted carrier/preload team to allow package.
Sometimes if you preload app first and then publish app on Playstore, Google play will block the package and confirm your identity from pre-load team before allowing you to publish.
So it is advised to put package in store first & then pre-load to avoid such long process. (You can limit discovery via multiple ways).
Source - https://medium.com/#shashank.mishra_62841/complete-guide-in-app-update-for-android-apps-google-playstore-1b8f2946fa7a

Download .ipa build via App Store Connect API

Due to some unique quality and regulatory requirements in our organisation, we need to be able to download a .ipa build from App Store Connect, in order to be able to compare it against a locally built binary. I appreciate this is an unusual requirement, but it is non-negotiable.
Clearly there is no way to do this via the App Store Connect web interface, so I've been looking at the App Store Connect API. However it is ambiguous from the documentation, whether it is possible to use this to download an .ipa build.
Does anyone know if this is possible, and how one might go about doing it if so please?
Apple does not provide any way of retrieving an upload app/IPA. It's neither possible through App Store Connect nor the App Store Connect API.
You can only check entitlements and additional build information in the App Store Connect interface. For that go to App Store Connect > My Apps > Activity > All Builds > Click on the build
(Fastlane does also not provide any way, because Apple does not expose the data. It uses the "web API", i.e. has access to more information than the "standard" App Store Connect API)
We can download IPA file with the help of Apple Configurator. Follow below steps to download IPA file.
Download Apple Configurator 2 app on your MAC.
Connect your iPhone with MAC and Apple ID should be same in apple Configurator and iPhone.
New window will display with app count badge in All Devices Tab.
Right click on your connected device in Apple Configurator and select Add and then Apps.
Process will complete and Popup will show with options, no need to click any option and go to this path
~/Library/Group Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Assets/TemporaryItems/MobileApps/
Save IPA file in your directory
-Now stop Apple Configurator
EDIT: I know this question is aimed at Downloading Appstore/Testflight builds, specifically, but wanted to provide this answer for others who find your question while looking for it from anywhere.
You can download iOS .ipa from Firebase distribution, as well as for Android .apks. But you do need to have the right permissions.
I just did it 5 minutes ago. See ☝️?
Go into App Distribution > find your app scheme/variant > expand build number > see if you have a Download button. If you don't, your company needs to bump your permissions up a bit higher.
Keep in mind that firebase apps can experience limitations when interacting with Apple SDK features, though, like SIWA. You'd need to use Testflight to test things like that if they don't work for you (we have decent devs and never could get it working on Firebase builds).
If the file gets deleted before you can copy it, you can use this command:
watch -n 0.1 find "~/Library/Group\ Containers/K36BKF7T3D.group.com.apple.configurator" -iname "*.ipa" -exec 'cp -r {} ~/Downloads \;'
When it's downloaded it will copy it to the Downloads folder. You're welcome.
Part of the credits to my colleague Daniël.

wso2 emm apk version management using the WSO2 store

I am testing WSO2-Emm system for managing our android mobile app. We have an app for taxi drivers. We deploy it using our tablets and a single gmail account. Our problem is that google allows up to 10 signed in devices for a single google account.
I have tried to load the apk to the WSO2 store. The problem is that when I want to upload a new version of the same app I get a warning message saying that this APK already exists in the store. When I try to rename it and add it as a new apk it works. The problem is that when I go to App-Management, the application appears under 'installed'. The Emm system doesn't detect there is a new version.
To be more specific, my question is is there a way to manage mobile application versions using the WSO2 store and not the google play store.
If there is a way we can go on with this system. If not, we will stop testing it.
The only way I've figured out how update an already installed app is by going to the App Management tab, selecting your latest version of the app in question, and hitting the install button under the Roles tab (NOT the Users tab). It will send the install command to any devices listed under roles you have checked, even if they already have the app installed. Keep in mind this will install the app on all the devices, even devices that already have the version you're trying to put out.
It looks like you already know about the patch on EMM-686 that must be implemented in order to upload multiple versions of the same app to the Publisher. Just in case you want to confirm it's implemented correctly, see my answer here for instructions on how to implement it.

React native, do I need to send updates through app store?

Title pretty much explains it. Does it render JS from an external codebase so I can simply push new updates through git, or do I need to actually push the changes through App Store?
This is my previous answer, which is getting downvoted into oblivion because it didn't predict something cool like CodePush coming to React Native :)
React Native compiles to an iOS binary. Updates need to be sent to the
App Store, unless you're simply using React Native for its WebView
and rendering an existing webpage on the client.
Updated 6/2/16
It looks like Microsoft has a sweet plugin for CodePush found here that lets you push changes remotely to your React Native app without having to send the update through the App Store.
Here's a quote from the README docs:
NOTE: While Apple's developer agreement fully allows performing
over-the-air updates of JavaScript and assets (which is what enables
CodePush!), it is against their policy for an app to display an update
prompt. Because of this, we recommend that App Store-distributed apps
don't enable the updateDialog option when calling sync, whereas Google
Play and internally distributed apps (e.g. Enterprise, Fabric,
HockeyApp) can choose to enable/customize it.
I'm actually working on a project (with the React Native Playground team - https://rnplay.org/about) that will allow you do live update your apps JS on the fly without submitting an update to the App Store. It's called Reploy, http://reploy.io
We will be open-sourcing the first portion of it very soon (the updater module). There will also be a service that will help you to manage your updates and even deploy your app to TestFlight and the App Store when needed (App Store updates are still needed when adding a new native module or static assets).
Also, just so you know, Apple has allowed this type of auto-updating via item 3.3.2 in the "iOS Developer Program Requirements" document, it says:
3.3.2 An Application may not download or install executable code. Interpreted
code may only be used in an Application if all scripts, code and interpreters are
packaged in the Application and not downloaded. The only exception to the
foregoing is scripts and code downloaded and run by Apple's built-in WebKit
framework or JavascriptCore, provided that such scripts and code do not change
the primary purpose of the Application by providing features or functionality that are
inconsistent with the intended and advertised purpose of the Application as
submitted to the App Store.
https://developer.apple.com/programs/ios/information/iOS_Program_Information_4_3_15.pdf
You could push an update to a remote user if you had linked to an external bundle and had the IP / correct ports forwarded, however Apple do not allow this for released AppStore apps.
For beta testing remote apps you might want to try exponent http://exp.host/
Update---
For completeness, it should be noted that if you are part of the Apple Enterprise program you do not need to publish Apps to the AppStore at all, you can post them to end users via a download link.
I work on a project called AppHub that lets you update JavaScript and images without re-submitting to the App Store. The iOS SDK will be open source, but for now you can use the hosted service to manage new builds of your app.

How to make dojo work offline

I have a project that loads http://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojo/dojo.xd.js, I want to be able use this project offline
I tried to download dojo.xd.js and link to it locally but this still doesn't work offline
In firebug, on the net tab I can see that there are a lot more .js files that load
Is there a simple way of making this work offline?
The way of integration depends on your way of using it.
I assume you have webserver running locally (without inet access)?!
At the dojo website there are several ways of dojo integration available. Just download one of them (do not use CDN) and put the file on your local web server. Then it is available through the local url (can be relative to your site).
If you wan't to build an "offline" app without a webserver then take a look at Adobe AIR and interation of the dojo toolkit with Dojo Extensions for Adobe AIR.
Another option might be the integration together with PhoneGap or Cordova to build an offline App, e.g. for an IPhone etc. with HTML/Javascript. Win8/RT Applications for the M$ AppStore does support HTML/Javascript, too (have not tested this with Dojo).
Keep in mind there are also some security restrictions (e.g. loading and execution of JavaScript) if you plan to "release" your app as simple html file (click to open in browser).