Skip to content

Commit

Permalink
Merge branch 'main' into orangepanda83-patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
orangepanda83 authored Jun 26, 2024
2 parents 1af4690 + d170cb6 commit a6b12c9
Show file tree
Hide file tree
Showing 70 changed files with 198 additions and 140 deletions.
4 changes: 2 additions & 2 deletions Android/firebase_dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def firebaseDependenciesMap = [
'app_check' : ['com.google.firebase:firebase-appcheck',
'com.google.firebase:firebase-appcheck-debug',
'com.google.firebase:firebase-appcheck-playintegrity'],
'play_services' : ['com.google.android.gms:play-services-base:18.4.0'],
'play_services' : ['com.google.android.gms:play-services-base:18.5.0'],
'analytics' : ['com.google.firebase:firebase-analytics'],
'auth' : ['com.google.firebase:firebase-auth'],
'database' : ['com.google.firebase:firebase-database'],
Expand Down Expand Up @@ -159,7 +159,7 @@ project.afterEvaluate {

// Add the bill-of-materials
project.dependencies {
implementation platform('com.google.firebase:firebase-bom:33.0.0')
implementation platform('com.google.firebase:firebase-bom:33.1.1')
}
for (String lib : firebaseCpp.dependencies.libSet) {
// Generate and include the proguard file
Expand Down
4 changes: 2 additions & 2 deletions analytics/integration_test/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ use_frameworks! :linkage => :static

target 'integration_test' do
platform :ios, '13.0'
pod 'Firebase/Analytics', '10.25.0'
pod 'Firebase/Analytics', '10.28.1'
end

target 'integration_test_tvos' do
platform :tvos, '12.0'
pod 'Firebase/Analytics', '10.25.0'
pod 'Firebase/Analytics', '10.28.1'
end

post_install do |installer|
Expand Down
2 changes: 1 addition & 1 deletion analytics/ios_headers/FIREventNames.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2024 Google LLC

// Copied from Firebase Analytics iOS SDK 10.25.0.
// Copied from Firebase Analytics iOS SDK 10.28.1.

/// @file FIREventNames.h
///
Expand Down
2 changes: 1 addition & 1 deletion analytics/ios_headers/FIRParameterNames.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2024 Google LLC

// Copied from Firebase Analytics iOS SDK 10.25.0.
// Copied from Firebase Analytics iOS SDK 10.28.1.

/// @file FIRParameterNames.h
///
Expand Down
2 changes: 1 addition & 1 deletion analytics/ios_headers/FIRUserPropertyNames.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2024 Google LLC

// Copied from Firebase Analytics iOS SDK 10.25.0.
// Copied from Firebase Analytics iOS SDK 10.28.1.

/// @file FIRUserPropertyNames.h
///
Expand Down
2 changes: 1 addition & 1 deletion app/app_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ android {
}

dependencies {
implementation platform('com.google.firebase:firebase-bom:33.0.0')
implementation platform('com.google.firebase:firebase-bom:33.1.1')
implementation 'com.google.firebase:firebase-analytics'
}

Expand Down
4 changes: 2 additions & 2 deletions app/google_api_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ android {
}

dependencies {
implementation platform('com.google.firebase:firebase-bom:33.0.0')
implementation platform('com.google.firebase:firebase-bom:33.1.1')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.android.gms:play-services-base:18.4.0'
implementation 'com.google.android.gms:play-services-base:18.5.0'
implementation project(':app:app_resources')
}

Expand Down
2 changes: 1 addition & 1 deletion app/integration_test/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ platform :ios, '13.0'
use_frameworks! :linkage => :static

target 'integration_test' do
pod 'Firebase/Analytics', '10.25.0'
pod 'Firebase/Analytics', '10.28.1'
end

post_install do |installer|
Expand Down
2 changes: 1 addition & 1 deletion app/invites_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ android {
}

dependencies {
implementation platform('com.google.firebase:firebase-bom:33.0.0')
implementation platform('com.google.firebase:firebase-bom:33.1.1')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-dynamic-links'
implementation project(':app:app_resources')
Expand Down
2 changes: 1 addition & 1 deletion app_check/app_check_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ android {
}

dependencies {
implementation platform('com.google.firebase:firebase-bom:33.0.0')
implementation platform('com.google.firebase:firebase-bom:33.1.1')
implementation 'com.google.firebase:firebase-appcheck'
}

Expand Down
20 changes: 10 additions & 10 deletions app_check/integration_test/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ use_frameworks! :linkage => :static

target 'integration_test' do
platform :ios, '13.0'
pod 'Firebase/AppCheck', '10.25.0'
pod 'Firebase/Database', '10.25.0'
pod 'Firebase/Auth', '10.25.0'
pod 'Firebase/Storage', '10.25.0'
pod 'Firebase/Functions', '10.25.0'
pod 'Firebase/AppCheck', '10.28.1'
pod 'Firebase/Database', '10.28.1'
pod 'Firebase/Auth', '10.28.1'
pod 'Firebase/Storage', '10.28.1'
pod 'Firebase/Functions', '10.28.1'
end

target 'integration_test_tvos' do
platform :tvos, '12.0'
pod 'Firebase/AppCheck', '10.25.0'
pod 'Firebase/Database', '10.25.0'
pod 'Firebase/Auth', '10.25.0'
pod 'Firebase/Storage', '10.25.0'
pod 'Firebase/Functions', '10.25.0'
pod 'Firebase/AppCheck', '10.28.1'
pod 'Firebase/Database', '10.28.1'
pod 'Firebase/Auth', '10.28.1'
pod 'Firebase/Storage', '10.28.1'
pod 'Firebase/Functions', '10.28.1'
end

post_install do |installer|
Expand Down
2 changes: 1 addition & 1 deletion auth/auth_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ android {
}

dependencies {
implementation platform('com.google.firebase:firebase-bom:33.0.0')
implementation platform('com.google.firebase:firebase-bom:33.1.1')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-auth'
implementation project(':app:app_resources')
Expand Down
4 changes: 2 additions & 2 deletions auth/integration_test/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ use_frameworks! :linkage => :static

target 'integration_test' do
platform :ios, '13.0'
pod 'Firebase/Auth', '10.25.0'
pod 'Firebase/Auth', '10.28.1'
end

target 'integration_test_tvos' do
platform :tvos, '12.0'
pod 'Firebase/Auth', '10.25.0'
pod 'Firebase/Auth', '10.28.1'
end

post_install do |installer|
Expand Down
2 changes: 1 addition & 1 deletion cmake/external/firestore.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ endif()

# If the format of the line below changes, then be sure to update
# https://github.com/firebase/firebase-cpp-sdk/blob/fd054fa016/.github/workflows/update-dependencies.yml#L81
set(version CocoaPods-10.25.0)
set(version CocoaPods-10.28.1)

function(GetReleasedDep)
message("Getting released firebase-ios-sdk @ ${version}")
Expand Down
6 changes: 3 additions & 3 deletions cpp_sdk_version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"released": "12.0.0",
"stable": "12.0.0",
"head": "12.0.0"
"released": "12.1.0",
"stable": "12.1.0",
"head": "12.1.0"
}
2 changes: 1 addition & 1 deletion database/database_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ android {
}

dependencies {
implementation platform('com.google.firebase:firebase-bom:33.0.0')
implementation platform('com.google.firebase:firebase-bom:33.1.1')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-database'
//implementation project(':app:app_resources')
Expand Down
8 changes: 4 additions & 4 deletions database/integration_test/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ use_frameworks! :linkage => :static

target 'integration_test' do
platform :ios, '13.0'
pod 'Firebase/Database', '10.25.0'
pod 'Firebase/Auth', '10.25.0'
pod 'Firebase/Database', '10.28.1'
pod 'Firebase/Auth', '10.28.1'
end

target 'integration_test_tvos' do
platform :tvos, '12.0'
pod 'Firebase/Database', '10.25.0'
pod 'Firebase/Auth', '10.25.0'
pod 'Firebase/Database', '10.28.1'
pod 'Firebase/Auth', '10.28.1'
end

post_install do |installer|
Expand Down
2 changes: 1 addition & 1 deletion dynamic_links/integration_test/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use_frameworks! :linkage => :static

target 'integration_test' do
platform :ios, '13.0'
pod 'Firebase/DynamicLinks', '10.25.0'
pod 'Firebase/DynamicLinks', '10.28.1'
end

post_install do |installer|
Expand Down
2 changes: 1 addition & 1 deletion firestore/firestore_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ android {
}

dependencies {
implementation platform('com.google.firebase:firebase-bom:33.0.0')
implementation platform('com.google.firebase:firebase-bom:33.1.1')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-firestore'
}
Expand Down
8 changes: 4 additions & 4 deletions firestore/integration_test/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ use_frameworks! :linkage => :static

target 'integration_test' do
platform :ios, '13.0'
pod 'Firebase/Firestore', '10.25.0'
pod 'Firebase/Auth', '10.25.0'
pod 'Firebase/Firestore', '10.28.1'
pod 'Firebase/Auth', '10.28.1'
end

target 'integration_test_tvos' do
platform :tvos, '12.0'
pod 'Firebase/Firestore', '10.25.0'
pod 'Firebase/Auth', '10.25.0'
pod 'Firebase/Firestore', '10.28.1'
pod 'Firebase/Auth', '10.28.1'
end

post_install do |installer|
Expand Down
8 changes: 4 additions & 4 deletions firestore/integration_test_internal/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ use_frameworks! :linkage => :static

target 'integration_test' do
platform :ios, '13.0'
pod 'Firebase/Firestore', '10.25.0'
pod 'Firebase/Auth', '10.25.0'
pod 'Firebase/Firestore', '10.28.1'
pod 'Firebase/Auth', '10.28.1'
end

target 'integration_test_tvos' do
platform :tvos, '12.0'
pod 'Firebase/Firestore', '10.25.0'
pod 'Firebase/Auth', '10.25.0'
pod 'Firebase/Firestore', '10.28.1'
pod 'Firebase/Auth', '10.28.1'
end

post_install do |installer|
Expand Down
8 changes: 4 additions & 4 deletions functions/integration_test/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ use_frameworks! :linkage => :static

target 'integration_test' do
platform :ios, '13.0'
pod 'Firebase/Functions', '10.25.0'
pod 'Firebase/Auth', '10.25.0'
pod 'Firebase/Functions', '10.28.1'
pod 'Firebase/Auth', '10.28.1'
end

target 'integration_test_tvos' do
platform :tvos, '12.0'
pod 'Firebase/Functions', '10.25.0'
pod 'Firebase/Auth', '10.25.0'
pod 'Firebase/Functions', '10.28.1'
pod 'Firebase/Auth', '10.28.1'
end

post_install do |installer|
Expand Down
2 changes: 1 addition & 1 deletion gma/gma_resources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ android {
}

dependencies {
implementation platform('com.google.firebase:firebase-bom:33.0.0')
implementation platform('com.google.firebase:firebase-bom:33.1.1')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.android.gms:play-services-ads:23.0.0'
implementation 'com.google.android.ump:user-messaging-platform:2.2.0'
Expand Down
2 changes: 1 addition & 1 deletion gma/integration_test/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use_frameworks! :linkage => :static

target 'integration_test' do
platform :ios, '13.0'
pod 'Firebase/CoreOnly', '10.25.0'
pod 'Firebase/CoreOnly', '10.28.1'
pod 'Google-Mobile-Ads-SDK', '11.2.0'
pod 'GoogleUserMessagingPlatform', '2.3.0'
end
Expand Down
40 changes: 37 additions & 3 deletions gma/src/include/firebase/gma.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,32 @@ template <typename ResultType>
class Future {
// Empty class (used for documentation only).
};

/// @brief Firebase App class. For more information, see the <a
/// href="https://firebase.google.com/docs/reference/cpp/class/firebase/app">Firebase
/// C++ SDK documentation</a>.
class App {
// Empty class (used for documentation only).
};

#endif // defined(DOXYGEN_ADMOB)

/// @brief API for Google Mobile Ads with Firebase.
///
/// The GMA API allows you to load and display mobile ads using the Google
/// Mobile Ads SDK. Each ad format has its own header file.
///
/// @deprecated **The Google Mobile Ads (GMA) C++ SDK is _deprecated_ as of June
/// 17, 2024 and should not be adopted in projects that don't already use it. It
/// will enter _End-of-Maintenance (EoM)_ on June 17, 2025. Note that versions
/// of the SDK released before the EoM date will continue to function, but no
/// further bug fixes or changes will be released after the EoM date.**
///
/// Instead of the Google Mobile Ads C++ SDK, consider using the
/// [iOS](/docs/admob/ios/quick-start) and
/// [Android](/docs/admob/android/quick-start) SDKs from AdMob. For support,
/// reach out to the [Google Mobile Ads SDK Technical
/// Forum](https://groups.google.com/g/google-admob-ads-sdk).
namespace gma {

/// Initializes Google Mobile Ads (GMA) via Firebase.
Expand All @@ -78,7 +98,13 @@ namespace gma {
/// @return If init_result_out is kInitResultSuccess, this Future will contain
/// the initialization status of each adapter once initialization is complete.
/// Otherwise, the returned Future will have kFutureStatusInvalid.
Future<AdapterInitializationStatus> Initialize(
///
/// @deprecated The Google Mobile Ads C++ SDK is now deprecated. Please see
/// the [SDK reference
/// documentation](
/// /admob/cpp/reference/namespace/firebase/gma)
/// for more information.
FIREBASE_DEPRECATED Future<AdapterInitializationStatus> Initialize(
const ::firebase::App& app, InitResult* init_result_out = nullptr);

#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN)
Expand Down Expand Up @@ -107,7 +133,11 @@ Future<AdapterInitializationStatus> Initialize(
/// @return If init_result_out is kInitResultSuccess, this Future will contain
/// the initialization status of each adapter once initialization is complete.
/// Otherwise, the returned Future will have kFutureStatusInvalid.
Future<AdapterInitializationStatus> Initialize(
///
/// @deprecated The Google Mobile Ads C++ SDK is now deprecated. Please see
/// https://developers.google.com/admob/cpp/reference/namespace/firebase/gma
/// for more information.
FIREBASE_DEPRECATED Future<AdapterInitializationStatus> Initialize(
JNIEnv* jni_env, jobject activity, InitResult* init_result_out = nullptr);

#endif // defined(__ANDROID__) || defined(DOXYGEN)
Expand All @@ -126,7 +156,11 @@ Future<AdapterInitializationStatus> Initialize(
/// will contain the initialization status of each adapter once initialization
/// is complete. Otherwise, the returned Future will have
/// <code>kFutureStatusInvalid</code>.
Future<AdapterInitializationStatus> Initialize(
///
/// @deprecated The Google Mobile Ads C++ SDK is now deprecated. Please see
/// https://developers.google.com/admob/cpp/reference/namespace/firebase/gma
/// for more information.
FIREBASE_DEPRECATED Future<AdapterInitializationStatus> Initialize(
InitResult* init_result_out = nullptr);
#endif // !defined(__ANDROID__) || defined(DOXYGEN)

Expand Down
Loading

0 comments on commit a6b12c9

Please sign in to comment.