Skip to content

Commit

Permalink
Merge pull request #5 from rodrigocastanho/develop
Browse files Browse the repository at this point in the history
Correção codigo admob ID, AdmobFragment atualização lib de anuncios OK.
  • Loading branch information
rodrigocastanho authored Sep 3, 2024
2 parents 568adc9 + d496d26 commit 6cf8deb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ dependencies {
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.google.code.gson:gson:2.10.1'

//backup em CSV
implementation 'com.opencsv:opencsv:5.7.1'
Expand All @@ -74,7 +74,7 @@ dependencies {
kapt 'androidx.room:room-compiler:2.6.1'

//Admob anuncios
implementation 'com.google.android.gms:play-services-ads:23.2.0'
implementation 'com.google.android.gms:play-services-ads:23.3.0'
// implementation 'com.google.firebase:firebase-analytics:20.1.0'

//Teste
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AdMobFragment : Fragment() {

val density = resources.displayMetrics.density
val adWidth = (adWidthPixels / density).toInt()
AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize(requireContext(), adWidth)
AdSize.getCurrentOrientationInlineAdaptiveBannerAdSize(requireContext(), adWidth)
} else {
AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize(requireContext(), 320)
}
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@

<!-- test-->
<!-- <string name="admob_app_id">ca-app-pub-3940256099942544~3347511713</string>-->
<!-- <string name="banner_app_id">ca-app-pub-3940256099942544/6300978111</string>-->
<!-- <string name="banner_app_id">ca-app-pub-3940256099942544/9214589741</string>-->

<string name="admob_app_id">ca-app-pub-5807404146135121/2182703144</string>
<string name="banner_app_id">ca-app-pub-5807404146135121~8748111490</string>
<string name="admob_app_id">ca-app-pub-5807404146135121~8748111490</string>
<string name="banner_app_id">ca-app-pub-5807404146135121/2182703144</string>

<string name="sobreApp">Aplicativo com foco em ajudar você a registrar as manutenções e analisar os gastos com as manutenções de seu veículo. </string>
<string name="versao">Versão: 1.4</string>
Expand Down

0 comments on commit 6cf8deb

Please sign in to comment.