dnaextrim / flutter_ironsource_x

IronSource Ads & Mediation Plugin for Flutter
https://pub.dev/packages/flutter_ironsource_x
Apache License 2.0
10 stars 17 forks source link

add Google Play Services #8

Closed Imesh7 closed 2 years ago

Imesh7 commented 2 years ago

Hi, Thanks very much for the amazing plugin

is this below code must to added or optional?

Add xmlns:tools="http://schemas.android.com/tools" on top for replace label.

  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.metamorfosis_labs.flutter_ironsource_x_example">
Add tools:replace="android:label" at the <application> tag

<application
        tools:replace="android:label"
        android:name="io.flutter.app.FlutterApplication"
        android:label="flutter_ironsource_x_example"
        android:networkSecurityConfig="@xml/network_security_config"
        android:usesCleartextTraffic="true"
        android:icon="@mipmap/ic_launcher">
Add the following inside the <application> tag in your AndroidManifest:

<meta-data
  android:name="com.google.android.gms.ads.APPLICATION_ID"
  android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>

<meta-data android:name="com.google.android.gms.version"
  android:value="@integer/google_play_services_version" />

is that com.google.android.gms.ads.APPLICATION_ID belongs to admob?

Imesh7 commented 2 years ago

any reply?

dnaextrim commented 2 years ago

optional, this section is required if you use ironsource as admob mediation

image

Imesh7 commented 2 years ago

I try your plugin without adding admob app id (this part), it gives me error The error is you should added admob app id

https://pub.dev/packages/flutter_ironsource_x