Detect the app version in Google play via Flutter - flutter

Google has updated its UI for Google Play Store. I was able to get the app version from a simple request/response for an app with the old UI.
My app is written with Flutter & Dart.
How to detect the app version in Google play? is there any way to fix it.
I got this from Google play via email: If you would like to fetch these details from an API, you may review our Google Play Developer API setup documentation to enable our Publishing API methods. You may refer to edits.tracks method in order to fetch the release versions of all your active tracks.
How to call Google play api from fluttar app and get the published app version?
Best regards

Related

Flutter web with Google Place Photos

Successfully using the Google Places API to display location photos in an iOS app. However, apparently this API isn't meant for client-side apps so when I deploy my Flutter app to the web I get a bunch CORS errors.
Unfortunately the docs for the Google Maps API don't speak to Flutter implementations though I found these two Flutter plugins that allow you to work with it:
google_maps_flutter
google_maps_flutter_web
The only issue is that they only provide examples of working with Google Maps and not getting locations photos. Does anyone have experience with these plugins or this issue?
Ideally I wouldn't have to use a plugin at all, I'd like to just be able to hit some endpoint like I can with the Places API, though the docs for this don't mention being able to do this.

Check if my ionic app has a new version on AppStore and PlayStore

I would like to add functionality to my Ionic based application to check the respective app store for a newer version, and if present, prompt the user to download once (not repeatedly- they should be able to skip and not be nagged). Similar to Siren, but for Ionic and both Google Play and Apple App Store. I see this similar request for native apps and AppStore and this similar request for Play Store, but nothing specific to Ionic. I feel like I could stitch it together using App Version and ajax calls listed from those requests, but that there has to be other people who have done this already and have existing Cordova/Capacitor plugins for this. Also that there may be nuance that a naive solution could fail (ie ajax call fails, app stores change API, newer version is not supported on device, etc).
Is there an existing plugin or code that will implement the behavior described above?
You can use Market plugin in addition to the App version plugin..
I haven't come across a solution which directly checks the app store, instead i have to maintain the app version in my server db and check it at app start.
Here is the flow that can be used..
App Launches
Checks the current app version using APP VERSION plugin
Calls an API endpoint to my server to compare for the deployed app store version (which is maintained in the db)
If the app version is outdated, use the MARKET plugin to take the user to the app store.
A Capacitor alternative to the market plugin is there, but didn't test it out.
Follow Capacitor plugins proposals, for an upcoming solution.

How Do I Track the Install Source from within an Ionic App?

Marketing specialists keep instructing my client to setup the analytics so that it can track where the user is being referred from so that we can optimize the advertising campaigns.
When I ask them how to setup the tracking correctly they send me to a link for the native Android & iOS google analytics libraries and provide the settings. I respond in kind stating that our app is not built using the native SDK's it is built using the Ionic Framework. They then have no response for this.
I have Google Analytics implemented as well as Facebook analytics. Both systems are actively tracking data. But apparently it is still not tracking the source of which advertising campaign the user originated from and / or installed the app from.
I've tried to find an example of this somewhere and talked to numerous people but from what I can tell it is not possible using the Ionic Framework.
Can anyone provide some insight into this? If this is not possible it seems like a rather large issue with the Ionic Platform that should be made more visible.
Thank you!

Track Events using Facebook SDK on Nativescript App using nativescript-facebook plugin

I am trying to connect the an app built with Nativescript-Vue with Facebook to set up ads and track the performance. I am reading through the documentation of https://github.com/NativeScript/nativescript-facebook but have not found how should I implement the tracking features (specifically Track App Installs and App Opens). Does the plugin work for events? Thanks.-
I also see that the official facebook Quick Start for iOS SDK tutorial, includes some xml for iOS that it is not included in the plugin docs:
<key>FacebookAppID</key>
<string>XXXXXXX</string>
<key>FacebookDisplayName</key>
<string>XXXXX</string>
Any idea why?
Thanks!
The plugin do not implement events yet. But you may do it by accessing the native apis on the iOS / Android SDK.
Learn more about accessing native apis for iOS / Android from JavaScript in the docs.

Google Drive vs Google Doc for iOS?

I have an iOS app that uses the Google Docs List API to access and download spreadsheet data. I've done a basic test with upgrading my Google Docs account to Google Drive, and everything still seems to be working okay.
Based on the answer for this question Google Document List API and Google Drive SDK it looks like things will continue to work for awhile.
Are there any steps that mobile devs should be taking now to move to the new API? My main concern is that most of the developer docs so far are related to web apps and not mobile apps so requirements like registering for the chrome web store don't seem to fit. For example:
"Warning: Apps will not have any API access to files unless the app has been installed in Chrome Web Store. To test an app during development, you must first create a listing and install it."
Any guidance or suggestions would be appreciated.
Check this answer for the rationale behind the Chrome Web Store installation: https://stackoverflow.com/a/10476737/186674
Also, we are considering removing the installation requirement for the development and testing phase, we should have some updates soon.
iOS apps using the Documents List API should now update to using the Google Drive API and the newer Google APIs Client Library for Objective-C.
The new API and library are quite a bit easier to use and more efficient than are the older GData alternatives.