React native app authenticity - android

How does one verify in our server that the android app is from an official source, say downloaded through google play? Since you can just basically extract android js bundle from the apk.

Depending on exactly what you are trying to achieve you can look into App Licensing https://developer.android.com/google/play/licensing/index.html

Related

Android app feature update on-demand from my own server

I know that I can let users download apks from my server but...
What I need is a technique to implement a modular app with features that I can add and remove such as the Play Feature Delivery from Android App Bundles.
At the same time I can't use Google Play Store.
I read that:"App Bundle format is open source, so other stores can adopt it"
So I think I could implement my own store but how can I implement the Play Feature Delivery?
I read also about:
apk split
apk Expansion Files
over-the-air programming
native app over HTTP
Do you have any idea where I can start?
UPDATE 1
I can't put +1 but thanks to Rediska I can elaborate the question.
With bundletool I can generate an APK Set archive containing APKs for all possible devices.
How do I automate the installation of new features from the client point of view?
Can I use Play Core lib or another lib?
UPDATE 2
From here I found Evolve.
Evolve is a library for Android Developers that lets them deploy new
versions of an app without going through Google Play or asking users
to download an update. It works by using reflection and dynamic
bytecode generation to "trick" Android into running new code.
Now, this opens to ideas but also security risks.
There is bundletool - a utility for handling .aab files. It is open source, and it does have the ability to generate APK files based on specs.

Is there any way to automate the building of Android and iOS app and release to Google Play and App Store?

I was wondering if there is any way to automate the building of apk and ipa file and publish them into Google Play or App Store?
The idea is customer will be able to change some image and content from website console then build the apk or ipa with their own changes and publish the app into Google Play or App Store by their own from the website console.
So my question is, is there any tools or techniques that can be used to build the apk or ipa from website where by customer click event, that tool or technique will perform the build using the modified source code saved in the server and also publish the app using necessary process including app signing.
I am asking this because I found some app builder websites are providing this kind of service where customer can publish their app by their own.
I have searched the web for this, and did not find anything to try.
Yes, there are services for building & releasing apps automatically. A build server using the right tools can build your app and be responsible for signing & publishing to the stores. This takes a bit of time to setup properly, but once setup it shouldn't be much of a hassle.
Have a look at Fastlane, their service should match your needs for mobile apps and it widely adopted as a deployment solution. You can have a look at their doc on how to set it up yourself.
As to wether or not this is the proper solution for you remains discussable. If all your clients wish to do is update images & simple content, you're much better off with a CMS. This would allow your client to update all the content while the app is live. That way, you wouldn't have to push an update to the store just to change an image, and the app users won't have to update everytime (which you can never guarantee).

App includes references to Android in the metadata

I have built an app using react-native and I wanted to release my app on the app store so I built an ipa using Xcode and submitted it to the app store.
2 days later apple rejects the app saying
Guideline 2.3.10 - Performance - Accurate Metadata
We noticed that your app or its metadata includes irrelevant third-party platform information.
Specifically, your app includes references to Android in the metadata.
Referencing third-party platforms in your app or its metadata is not permitted on the App Store unless there is specific interactive functionality.
How exactly do I solve this issue? I'm pretty sure that when building a bundle for iOS react native automatically only packages common and ios related code.
The guideline 2.3.10 reads as "Make sure your app is focused on the iOS, Mac, Apple TV or Apple Watch experience, and don’t include names, icons, or imagery of other mobile platforms in your app or metadata, unless there is specific, approved interactive functionality." as mentioned in the below link
https://developer.apple.com/app-store/review/guidelines/#accurate-metadata
you can refer to the below links to solve the issue.
https://support.magplus.com/hc/en-us/articles/203808528-iOS-Troubleshooting-Metadata-Rejected-in-App-Store-Review-Status
But you are right that when building the bundle the react native will only package common and iOS related code. But you can check in the code whether you have added any method names with android specific details. If in case you have android related explanations in comments section (// or /* comments*/), it will be ignored.
The Apple App Store doesn't check your code.
Meta Data means the data which you provide to publish your app on App Store.
Check if you have accidentally put "android" word in that anywhere.
In my case i have added "android" word in app description
They refused my app because I put an image that mentioned available on "Google play "

xamarin app to replace native android app on google play store

i have an existing native android app on the google play store. We have now developed the same app in xamarin and wish to go ahead with the xamarin one here on. I need to understand if it is possible to now put the xamarin apk on the store in place of native android one so the user receives the xamarin app as an update and not as a new app? I want to xamarin version to go as update to the user. Please guide me with the steps that will need to be taken to do so.
If you are able to keep the package name and signing key you are able to deploy your app as an update to the user. Don't forget to bump up the version number.

Distribute Android apps within organization

I have to distribute Android apps within my organization. I have a google developer account. Below it tells to login to the admin console to enable private channel.
https://support.google.com/a/answer/2494992?hl=en
Problem -it does not sign me in as Google help states that
my.account#company.com, doesn't have an administrator but is instead managed by Google.
Requirement - So how can i get the administrator account.
Any help will be appreciated.
Regards
You can provide the .apk files directly to your organization.
Either you can allow to download a signed .apk file through a web site which will launch the install procedure or you can make an app market which provides a list of .apk files and installs them automatically, as Amazon's App Shop.
I'm not sure if Google account allows you to share app locally. But we use Hockeyapp to do the same. It works great. You can even integrate it to your app and upload the crashes too. Many other features. Take a look at this to know other solutions. It supports iOS as well as Android and offers a good user experience.
But you've to pay a bit for it. CashAnalytics is free. Do small research for yourself.
I have used crashlytics for this purpose in my last project.
It works great for beta distribution in development phase.
Also, it's crash reporting is excellent to guide you to the source code line causing crashes.

Categories

Resources