Updating SDK in an app without effecting client /app - android

I want to test various marketing analytics or referral tracking SDKs for my app. Is there a solution that will allow me to integrate all these SDKs one by one without having to update my client side app?
Essentially I want to ensure users don't have to update the app each time I choose a new service to track campaigns or referrals.
Segment.io seems to do something similar for website. Is their a service that works for apps?

Whenever you ADD new libraries to your client side code, your app will have to be updated.
A traditional way to solve your problem would be to integrate all the SDKs you want and remotely select the campaign that you want to run.
Suppose if you want to your app to have Flurry and Apsalar, both of these would need to be integrated first and then on each run, you can tell your app which of these should be run.
Hope it helps.

Related

Update UI in android App without making users to update the App

I am building an app using , so the first time I upload the app to playstore, it will go with pre-defined Menu options and other stuffs.
Now, suppose I want to add a menu option in the Header of the App for any festive seasons or some awesome offers, and on clicking the menu, I should display the latest offers.
Is there any way to implement this feature without having to go through the process of again uploading to appstore and making users to update the app??
There is a concept of Over The Air (OTA) updates which you are referring to here. This is provided by Expo (by default create-react-native uses expo), firebase and Microsoft code push. You can read about it more here on official expo docs. If you are not using Expo then i prefer Code Push
Build an api endpoint you call at the app startup seems to be the easiest way to do this. Take a look at firebase if you don't want to build a full api and server yourself. Cloud functions are easy to use and could do the job in your case.

Use Google Assistant to directly talk to my Android app and execute a very simple task

I am working on a project to integrate the Google Assistant with an existing Android app. The requirements are simple. Assuming my app is named TestApp and I want it to just change the background color of the app home page, I want to be able to say,
"Hey Google, Change background to black on TestApp".
I was given links to ActionsSDK, but looking into it, I see that it is only a stand-alone app that extends Google Assistant and has nothing to do with android itself.
The closest API I found that does what I need is the Voice Interactions. This is very similar to what I need done but it only allows preset voice triggers such as "call this person..." or "set alarm at...", but cannot do "change background..." like in in my example. According to this link, custom voice actions aren't allowed.
So my question is, is it possible to directly interact with my app and have it do a very simple task?
Thanks
You may want to connect an Android app property with your Actions project to sell your digital goods in the Play store. Implement digital transactions to sell your Play store items as part of a conversation with your Action.
To connect an Android app with your Actions console project, you will first need to connect a website to your project. Follow the instructions provided above in Connecting a website.
Once you've connected a website, under Android app, click the Connect App button and follow the instructions shown. Once you have completed the instructions over in the Play console, it may take up to 24hrs before the connected Android app is reflected in the Actions console.
Try this in Action on google
Right now there is no way to do communication between Android App and Google Assistant. If your GA is built upon Dialogflow API (specifically not using action-on-google), then you can use Dialogflow Android client in your Android App to communicate with Dialogflow Agent.
I wrote an app for my own use to brighten the screen when I was in bright sunshine and could not see the screen by asking the assistant to launch the app. Then on launch I executed code to make the change. A cheesy work-around I know :-)
you can try using this
[1]: https://docs.slanglabs.in/slang/
This will allow you to perform several actions through voice inside your app. You can use the console to add actions and utterances and there are some sample apps which might help you.
I have used it in a lot of my apps.
Feel free to reach out in case you need help, good luck!

What happens to application installed in playstore if i deploy module to app engine?

I want to know what happens to users already installed applications, if i made any change in backend application and deploy module to app engine???
i.e i installed an application in play store yesterday with google storage backend in java. Now i wanted to add new feature to my existing app. but i am afraid if i did something wrong in backend application and deploy it to app engine, whether it will effect my installed application and users????
Your already published app will be the same as when you published. If you had any communication with backend app will expect that backend will be working.
You can change anything in your backend as long as old endpoints will be working. If you need to make bigger update and remove some of elements in backend your app you should check version of backend API in your app and notify user about needed update of app.
Best way to check if everything is working is simply run existing app and verify if everything is ok. If anything broke up prepare fixed version of app and publish to play market as soon as possible. Users will get notification about update of your app. In that case they will have not working app until update.

App updates from server without App Store?

I have an idea about updating App without through AppStore:
After publishing, the app has two main functions, loader function and app content function. If I want to fix some little bug, which is only one line code sometimes, or just need to change the background of APP UI, even some logic codes. In tradition solution that is updated the APP to APP store and notify the user to update it.
Is it possible, using the loader function to download changed app content from server?
Does Apple and Android allow to do it?
Thanks a lot.
You can't do that in iOS app. You should submit your next version app to access the new features. If you try to download codes or any other runtime content. Your App should be rejected.
Please refer the apple-review guideline here.
Thanks!
According to the google play Developer-Content-Policy:
An app downloaded from Google Play may not modify, replace or update its own APK binary code using any method other than Google Play's update mechanism.
No, you can not do it. If you want to make any change in the application, you will have to pass through store formalities to distribute the application to end client.
For iOS, you can go with enterprise distribution option, but using that you cant distribute the application outside your Organisation.
For customisable background or UI customisable, you can take help of server to receive configuration from server.

Add new updates on Android App

I am a beginner on Android as I am working on developing a new Android app. In my project I have some problems when the user click on an icon, it should redirect him to dot net website I did in my code.
If I want to update the apk file on customer mobile to update it should prompt to the user to download the new version. How can I achieve this?
Also how can I know this app belong me between many app on customer device?
I want to fetch the bugs and errors that may occurred on the customer device. How can I do it?
2.
If you release your app in the Google Play Store the updates are managed automatically by Google. You can just release another version of the app in the Google Play Store and all users will be notified from Google that a new version is available.
3.
If you release your app in the Google Play Store bugs will be reported automatically by Google to your Google-Mail Account.
Better to implement GCM push service in your application to send a notification about the update to all your application users.
http://developer.android.com/guide/google/gcm/index.html
This framework will give your application to support push notify the user from your server, and what you need to do in your application just track the received push and write a code to download new APk from server and install it automatically.
The second thing you asked about the Crash reports so the best option is use ACRA technology to get the your application report on server everything force close or logcat
Both are very easy to implement so enjoy!!
At first use GCM for push notifications like updates for your application.
Second useGoogle Analytics for any bug report crashes usage

Categories

Resources