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.
Related
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
How to implement AdSense or any other to show ads on the flutter website (flutter web app).
Which are the ad provider options like Adsense for a flutter web app.
Currently if you try, your application will be submitted for review, and then you will inaccurately obtain a "Valuable Inventory: No content" flag/violation. The problem is noticed though, but unfortunately it will be a good amount of time before it gets prioritized over the mobile ad framework.
https://github.com/flutter/flutter/issues/40376
I don't think flutter is in a mood to encourage adds on flutter web. Google uses crawlers to search the content on websites which will not work in case of flutter that well event though you try to inject adds through js code using plugin and this made me scrape my whole UI project and start it over again on angular or react.
Take a look at this new package I just saw has been released. Still in the infancy stages as it says but it's a start at least.
https://pub.dev/packages/admanager_web
Example of implementation:
AdBlock(
size: AdBlockSize.largeRectangle,
adUnitId: "/6355419/Travel/Europe",
)
I am struggling with trying to include ads from google admanager -aka DFP- (not admob).
I have found this package: "flutter_google_ad_manager 0.10.1" https://pub.dev/packages/flutter_google_ad_manager
However, digging into the package's code, it seems to use a PlatfromView that uses a native plugin to display ads on Android and iOS.
I found this comment on https://github.com/flutter/flutter/issues/12114 that discourages the use of PlatfromViews to display ads in flutter:
"Note that because Flutter's AndroidView and UiKitView rely on
low-level manipulation of platform UI components, it's almost
guaranteed that they will interact with the Google Mobile Ads SDK in
ways the mobile ads engineering team have not anticipated and do not
test for. Even if the approach looks like it's working right now, it's
likely to run into issues with MRAID functionality, JS code included
in the creatives, and impression and click measurement. The last of
those is particularly important, since abnormalities in impression and
click stats can result in suspension of accounts.While we work on
these issues with the relevant parties we highly recommend using the
Flutter team's firebase_admob plugin, and discourage using plugins
that do use platform views to embed AdMob ads."
So, what should I do? Is there anyway to display DFP ads with flutter?
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!
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.