- Edited
After installing the admob package on your mobile application, there are a few things you need to do.
Türkçe Hali aşağıda mevcuttur.
After installing the admob package on your mobile application, there are a few things you need to do.
Türkçe Hali aşağıda mevcuttur.
Admob 7.42.0 requires the App ID to be included in Info.plist. Failure to do so will result in a crash on launch of your app. The lines should look like:
<key>GADApplicationIdentifier</key>
<string>[ADMOB_APP_ID]</string>
where [ADMOB_APP_ID] i(ca-app-pub-################~ ##########)s your App ID. You must pass the same value when you initialize the plugin in your Dart code.
Important
If you have not added firebase to your application admob will not work and will give an error at boot. (Crashes)
https://pub.dev/packages/firebase_messaging
You need to install a package such as GoogleService-Info.plist to the runner file directory.
Admob paketini mobil uygulamanıza yükledikten sonra yapmanız gereken birkaç şey var.
Bu tartışma sadece ios ayarları içermektedir.
Her şeyden önce info.plist dosyasında aşağıdaki ayarları yapmak gerekiyor.
<key>GADApplicationIdentifier</key>
<string>ca-app-pub-################~ ##########</string>
Fakat bu tek başına yeterli değildir.
Uygulamanıza firebase eklemeniz gerekmekte ve runner>runner dosya dizinine firebase’ten alacağınız GoogleService-Info.plist dosyasını eklemeniz gerekmekte.
bast olarak firebase_meesaging paketini kullanabilirsiniz.
Bunu yaptıktan sonra admob ayarlarınızı yaparsanız uygulama çalışacaktır.
Herkese iyi çalışmalar.