Adding GDPR Consent Dialog to a Flutter app - flutter

Is there anything available to add a GDPR consent Dialog using Flutter? The firebase_admob plugin has some properties for adding nonPersonalizedAds or not but thats about it.
I haven't noticed an SDK or anything for Flutter like they have for Android and iOS. Has anyone added a consent somehow on their own or did it separately for Android and then iOS
Any help is greatly appreciated.

i write simple library for flutter that show GDPR dialog for user.
This library works only with android platform now. IOS version coming soon.
Link:
https://pub.dev/packages/gdpr_dialog#-readme-tab-

Related

Is it possible to create a custom share sheet in Flutter?

I want to build this custom share sheet shown in the screenshot depending on the apps that are on the mobile, could anyone tell me if it's possible? screenshot
i am currently using flutter's share_plus package, but the share method summons the platform's share sheet, is it possible to customize my own share sheet and use it for both platforms android and ios?
Using the Flutter Availability package you can customize this by styling BottomSheet from scratch. Still, this package is only for Android devices. Unfortunately, iOS does not provide any API to get the installed APPs information.
I guess You'll have to work with a modalBottomSheet and https://pub.dev/packages/url_launcher
You can check if an application is installed, but this would work only for android Is there any way to identify that a particular application is installed in my android/ios device through flutter and dart?

flutter will pop scope not working in iOS

If I use will_pop_scope in my flutter code then it will be run perfectly for android but it not working in iOS. Any other third party packages or gesture swipes are also not working.
If anyone showing this post from flutter community then please help me out from this problem and
please fix this issue from google devs or framework flutter insider devs

How do I add an Google Ads in my flutter desktop aplication?

I'm looking for a way to put Google ads in my desktop program.
I don't know if is not released yet. But I could find only for android and IOS.

Flutter. Admob ads with mediation

I've integrated https://pub.dev/packages/firebase_admob into my app and implemented rewarded ads. My problem now is that I'd like to use mediation via this plugin. The only thing is that I know (from developing Android apps and also it says in the Admob docs) that one needs to include the mediated networks' SDKs in the app.
Does this plugin even support mediation? I wasn't able to find anything relating to this.
Or does the mediation only come from the admob dashboard, just by setting up the add-unit with mediation and you're not really required to add the SDKs?
I couldn't find any adapters for this plugin, so ... don't really have anything to integrate in the app.
I'm very confused. Does anyone know how to use mediation or if it even works with the current firebase_admob` flutter plugin?
You can use firebase_admob and that dependency supports mediation. You you would like to add mediation there is a guide over here:
Android - https://developers.google.com/admob/android/mediate
iOS - https://developers.google.com/admob/ios/mediate
You can select the ad network you would like to integrate and read the steps on how to do so. Sometimes the documentation can be outdated so just make sure you cross-check the steps with the ad network you want to integrate on their github repo.
If you are integrating it for Android you have to add the dependencies in your app level build.gradle file and it will automatically install that particular ad networks SDK in your Flutter app.
If you are adding the same for iOS just install the Cocoapod for the ad network at the end of your Podfile.

Flutter device administrator permission

I'm trying to build an application that will lock the screen on a timer in Flutter. I'm wondering how to grant android device administrator permissions to an application in flutter.
I've found this but it's not really helpful i feel for flutter.
https://developer.android.com/guide/topics/admin/device-admin#java
Does anyone have any suggestions?
There is currently no platform-agnostic Flutter implementation for locking a device screen programmatically. The Android specific page you were looking at is what you need to add admin permissions to the manifest file and implement your screen locking functionality.
You can add Android-specific Java or Kotlin code in a Flutter project as stated here: https://flutter.io/docs/development/platform-integration/platform-channels