Do I need to make draft in google play console before I use Fastlane - fastlane

Can you upload app in Fastlane command with android and Fastlane app in the google play console or I need to make draft in console before I do?

Fastlane unfortunately can not create an Android app from scratch, as it can with create_app_online (formerly known as produce) for iOS. Google just doesn't offer any API for that.
So yes, you have to at least create the app on the Google Play Console which usually includes uploading a first APK (so the Play Console knows about the package name [com.example.app] or your app) to one of the available lanes (which doesn't have to get published though).

Related

Implementing google login flutter gives 12500 error

I implemented google login in flutter without using firebase in flutter (google cloud console). It was working in apk then later I needed push notification service for which I used firebase (fcm token and all) then I released the app to playstore but google login does not work. I keep getting apiexception error. Has anybody faced this issue? if yes any help would be highly appreciated.
I do not have a specific answer to your problem but I have also faced this problem once, I accidentally resolved it though.
But Error 12500 is a general error code that may occur when attempting to use the Google Sign-In feature and is caused by a few potensial issues:
An issue with the SHA-1 fingerprint of your app's signing
certificate: To use Google Sign-In, you need to configure your app's
SHA-1 fingerprint and package name in the Firebase console. Make
sure that the fingerprint and package name you have configured in
the Firebase console match the ones you are using to sign your app.
An issue with the Google Services configuration file: Make sure you
have properly added the Google Services configuration file to your
app.
An issue with the Google Play Services library: Make sure you have
the latest version of the Google Play Services library installed in
your app.
An issue with the device or emulator you are using: Make sure you
are testing on a device or emulator that has Google Play Services
installed and is up to date.
Possible fixes to try/check:
Double-check the SHA-1 fingerprint and package name: Make sure that
the SHA-1 fingerprint and package name you have configured in the
Firebase console match the ones you are using to sign your app.
Make sure you have added the Google Services configuration file: The
Google Services configuration file is required for your app to
communicate with Google services, including Google Sign-In. Make
sure you have properly added this file to your app.
Update the Google Play Services library: Make sure you have the
latest version of the Google Play Services library installed in your
app. You can check for updates by going to the "SDK Manager" in
Android Studio.
Test on a device or emulator with Google Play Services installed:
Make sure you are testing on a device or emulator that has Google
Play Services installed and is up to date.
I hope this helps! I will quickly search if I can find any other solution.

Is it proper to publish a mobile app using test database and api in internal testing?

I have built a flutter app and i want that our testers will test the app through internal testing in google play using the test database and test api url.
This is doable but it has a drawback. In google play, you can actually use the same build that was published in internal testing to be published as a release version. Since I am using a test database and api on the build, i have to change the settings to use live version and build the apk and upload it again to google play to do so. So whenever i want to have a new release, i need to submit atleast 2 builds.
Do you think this process is proper? If not, do you have any recommendation on how i can share the app to my testers that uses test environment. I have done things like sharing apk manually on microsoft teams but it doesn't feel like the right thing to do according to me.
Well, the best approach would be to create a new flavor for your dev environment instead of just building with differentet variables. Then you can create a new app at appstore named "yourapp dev" with different bundle id, e.g com.yourapp.app.dev and upload your dev builds to internal track of the new dev app. If you don't want to create a new dev app to playstore for distributing, you can also use firebase distribution to share your apk/ipa.

Flutter how check if an application is installed from Google Play?

Some of my applications are downloaded from the playmarket, ads are removed and posted on various sites in apk format for manual installation. Is there any legal way in flutter to check when the application is launched how it was installed?
There is currently a package developed that checks exactly what you want.

How to deploy Ionic app for remote internal users to test

I have an ionic app build on my system.
For now, I have been testing my app using Ionic DevAPP (which can be found on the App Store and Google Play).
Prerequisite to run an app on my mobile device using Ionic DevApp is, My app needs to be up and running using the command:
ionic serve
This option looks great when doing development.
But now, I have my app build and I want to share it with the testing team and PO who is located on shore.
I want to know is there any way or free platform where the users can run an app on their mobile devices directly without starting a dev server.
NOTES:
I know about Ionic dashboard, but it is not free when comes to sharing builds.
I don't want to upload my app on Play Store or Google Play.
Any help is recommended as I am really looking for options to share my app.
I use Diawi To share both apk and ipa, bypassing play/app stores.

Call phonegap plugin function within web app

i am building my first phonegap app and when i open the app i instantly redirecting (window.location) the user to my server where my web app is hosted. Is it possible to load the phonegap plugins from there? Because the "deviceready" event is not firing and i cannot call any plugin functions.
I can confirm that loading remotely does appear to allow access to native components (when scripts are properly loaded) and that cordova.jsdoes not appear to need to be loaded by the local index.html bootstrap.
Short answer: Yes
Some 'gotcha's'
You will have to supply correct cordova.js version for the platform browsing to your site.
you can look here for more info https://github.com/apache/cordova-js. This project hosts the core js elements, and builds the platform specific cordova.js lib
Any plugin api's your app wants to interact with must be pre-installed into the Native App
any plugin with native code will have to be added to the project and deployed to device bundled inside the app. There is no way to lazyload native code. The js portions of the plugin could be hosted on your server, however.
More information, some apps that do this
The PhoneGap Developer App uses a similar technique to what is describe above and what you want. The only difference is that it is meant as a dev tool, and the server is a local dev machine.
The Cordova App Harness also uses this technique of pre-bundling an app package with plugins, to be consumed by remotely hosted resources
You cannot, deviceready only functioning if the app run on mobile phone environment only. If web based or dekstop application, it won't trigger.
No , dont do that . loading remote website will not able to intract with your plugins . and the app will get rejected on istore too