how do i add an array entry into Info.plist and meta-data to AndroidManifest.xml without it resetting when running app?

Custom Code

i need to add this to Info.plist (these are not permissions):

<key>SKAdNetworkItems</key> <array> <dict> <key>SKAdNetworkIdentifier</key> <string>cstr6suwn9.skadnetwork</string> </dict> <dict> <key>SKAdNetworkIdentifier</key> <string>4fzdc2evr5.skadnetwork</string> </dict> </array>

The problem is when i add it manually, then run the code an a device, it gets reset.

Same problem with AndroidManifest.xml

<application>
<!-- Facebook Audience Network --> <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/> <meta-data android:name="com.facebook.sdk.AdvertiserIDCollectionEnabled" android:value="true"/> <meta-data android:name="com.facebook.sdk.AutoLogAppEventsEnabled" android:value="true"/> <meta-data android:name="com.facebook.sdk.AdvertiserTrackingEnabled" android:value="true"/> </application>

What have you tried so far?

I have tried using the permissions settings in FF UI but it does not allow us to input an array.

Did you check FlutterFlow's Documentation for this topic?
Yes
4
5 replies