How to pass TC String to Admob with Flutter? - flutter

I implemented a consent management platform called OneTrust SDK. This works and I can see users' consent choices on various cookies. Currently, the app getting no ads from AdMob at all, and my goal is to debug it by checking the TC String.
OneTrust package is compiled and I can't debug it but I've read that CMPs are usually writing this string to local storage and ads SDK automatically obtain it.
IMA SDK and Mobile Ads SDK will automatically obtain, parse, and
respect the TC string from within local storage.
https://support.google.com/admanager/answer/9805023?hl=en
I wonder if anyone worked with GDPR with flutter knows about how to get or pass this TC String to Google Ads.

Related

Getting OAID as 00000000-0000-0000-0000-000000000000 in Apps flyer and Huawei conversion tracking

I am using Huawei Ads and implemented Appsflyer third party tracking platform for conversion tracking. Here for few devices i am getting OAID as 00000000-0000-0000-0000-000000000000.What is the reason ? I need to configure anything extra in the portal?
In Huawei devices, If a user disables personalized ads, OAID is set
to a value containing only zeros, for example,
00000000-0000-0000-0000-000000000000.
In non-Huawei devices if OAID
is not available GAID will be collected.
For more details about Apps-flyer integration please check below links:
AppsFlyer
Android OAID implementation in the SDK

Agora Web SDK not displaying video and audio feed from flutter app

My project requires video call using flutter (mobile) and native web. When using the temp token generated from the console both web and mobile receive video and audio. When using the token generated from my server the mobile app receives the video feed from the web but the web does get any feed from the mobile app.
However on the app work fine when connecting mobile app to another mobile app.
flutter 2.2
agora_rtc_engine: ^4.0.6
Fixed
The problem happens when the UID on the mobile and the web are not the same data type. I was using local storage to save the UID local. The issue with that was it was retrieving the UID as a string not int. Resolved the issue by converting the UID to int when retrieving it from local storage.
Flutter Web is not currently supported by agora. There is an alpha release for web support, but since it's not official, it could be buggy.
https://pub.dev/packages/agora_rtc_engine/versions/4.1.0-alpha.2

Ionic Facebook plugin work only on one phone

I'm building an Ionic app with Facebook Login support.
I'm setting all as required in the developer.facebook.com settings and on config.xml on ionic config.
The login works fine for only my phone.
On every other phone the method facebook.login(['email']) reject Promise and pass an empty error.
How is it possible, counting that every configuration is compiler-related and not phone-related? There isn't config that uses device information.
Is really strange because I'm expecting does or doesn't work everywhere.
On every phone I've tried, Facebook app is installed and logged. No Facebook Lite installed.
Find the problem.
Facebook dev app was is develop mode so only me can access.
Possible solutions are:
Make in prod mode the app
Add other users facebook account to tester list

AdMob Facebook Mediation in Android

I am unable to mediate between admob and facebook audience network (FAN) in android app. The app is only serving ads from Admob network. The mediation between Admob and FAN is not working. Below is the process I have followed:
Integrated Admob in Android app. This is working fine.
Created a new developer account in facebook.
Added a new app (application id) in facebook.
Added two publishers id in facebook (one for banner and other for interstitial)
Included the adapter jar in the eclipse and added it to build path
Downloaded facebook sdk and added the classes.jar in eclipse. Added this to build path.
Added meta-data for facebook app id in Android Manifest
Project is compiled without any errors
Made proguard changes as per the instruction available at: https://firebase.google.com/docs/admob/android/mediation#include_network_adapters_and_sdks
Added mediation entries in Admob with ecpm 0.01 and 5.00.
When I run the code, I only get test ads from admob. On facebook, i see no ad requests. Till facebook doesn't recieves the ad request, it won't validate the app and ads.
Not sure if I need to make any change to android code. I am using the same code that worked for admob. It is just that I have now included the facebook jars and made changes to manifest file. No change is made to java code files or xml files?
Also, does facebook need activity context in adview request? I have adview defined in XML so I don't knw how to pass the activity context.
The code is driving me crazy.. and there is no single documentation available on how to make admob and FAN work in android code..
Prioritize facebook so the traffic/request will go to facebook instead admob just for testig purposes.
In my case to redirect traffic to facebook I set admob floor eCPM to $50 so it won't be served and surely it will try facebook since you configured it in the mediation stack.
NOTE: DO not use test ads on admob when doing above. Use real ads just don't click on it.
Here's what I did: For Facebook to validate your app, deactivate the mediation in your code and try loading just a Facebook ad instead as they show on their how-to-page. Once you see the ad from Facebook the status of your App turns to "validating". For me after like 3-4 hours it changed to "ready".
To get the Facebook ads delivered to your device, you need to have Facebook app installed and logged-in at least once. Do the following:
Install the Facebook app on your phone
Log in to the Facebook app with the same account from which you are requesting the ads
Now open your own app and request the ads from Facebook. If your integration is fine, you should get the ads.

Customized installation of iPhone or Android application

I want to develop native mobile application in which user will send invitation to his friend to install another companion native application via a link to the application. But in order for this to work I need to pass a custom token or parameters in the link so that when the companion application is installed by the user's friend, this token is parsed by the companion application to display personalized message ( much like query string parameters are passed in the URL for normal web applications). Is this possible for iPhone and Android native applications?
It is not possible on stock iPhone/iOS devices. App installation on iOS devices can only be done through the App Store app or iTunes, which do not accept any additional parameters other than the app identifier in the URLs they handle.