-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d723536
commit 6a83784
Showing
79 changed files
with
4,762 additions
and
10,725 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" "6.29.0" | ||
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" "7.3.0" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# carthage.sh | ||
# Usage example: ./carthage.sh build --platform iOS | ||
|
||
set -euo pipefail | ||
|
||
xcconfig=$(mktemp /tmp/static.xcconfig.XXXXXX) | ||
trap 'rm -f "$xcconfig"' INT TERM HUP EXIT | ||
|
||
# For Xcode 12 make sure EXCLUDED_ARCHS is set to arm architectures otherwise | ||
# the build will fail on lipo due to duplicate architectures. | ||
|
||
CURRENT_XCODE_VERSION=$(xcodebuild -version | grep "Build version" | cut -d' ' -f3) | ||
echo "EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200__BUILD_$CURRENT_XCODE_VERSION = arm64 arm64e armv7 armv7s armv6 armv8" >> $xcconfig | ||
|
||
echo 'EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200 = $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200__BUILD_$(XCODE_PRODUCT_BUILD_VERSION))' >> $xcconfig | ||
echo 'EXCLUDED_ARCHS = $(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT)__XCODE_$(XCODE_VERSION_MAJOR))' >> $xcconfig | ||
|
||
export XCODE_XCCONFIG_FILE="$xcconfig" | ||
carthage "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
ios/platform/FIRAnalyticsConnector.framework/FIRAnalyticsConnector
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleExecutable</key> | ||
<string>FIRAnalyticsConnector</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.firebase.Firebase-FIRAnalyticsConnector</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>FIRAnalyticsConnector</string> | ||
<key>CFBundlePackageType</key> | ||
<string>FMWK</string> | ||
<key>CFBundleVersion</key> | ||
<string>7.3.0</string> | ||
<key>DTSDKName</key> | ||
<string>iphonesimulator11.2</string> | ||
</dict> | ||
</plist> |
Binary file not shown.
33 changes: 33 additions & 0 deletions
33
ios/platform/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#import <Foundation/Foundation.h> | ||
|
||
#import "FIRAnalytics.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/// The type of consent to set. Supported consent types are `ConsentType.adStorage` and | ||
/// `ConsentType.analyticsStorage`. Omitting a type retains its previous status. | ||
typedef NSString *FIRConsentType NS_TYPED_ENUM NS_SWIFT_NAME(ConsentType); | ||
extern FIRConsentType const FIRConsentTypeAdStorage; | ||
extern FIRConsentType const FIRConsentTypeAnalyticsStorage; | ||
|
||
/// The status value of the consent type. Supported statuses are `ConsentStatus.granted` and | ||
/// `ConsentStatus.denied`. | ||
typedef NSString *FIRConsentStatus NS_TYPED_ENUM NS_SWIFT_NAME(ConsentStatus); | ||
extern FIRConsentStatus const FIRConsentStatusDenied; | ||
extern FIRConsentStatus const FIRConsentStatusGranted; | ||
|
||
/// Sets the applicable end user consent state. | ||
@interface FIRAnalytics (Consent) | ||
|
||
/// Sets the applicable end user consent state (e.g. for device identifiers) for this app on this | ||
/// device. Use the consent settings to specify individual consent type values. Settings are | ||
/// persisted across app sessions. By default consent types are set to `ConsentStatus.granted`. | ||
/// | ||
/// @param consentSettings An NSDictionary of consent types. Supported consent type keys are | ||
/// `ConsentType.adStorage` and `ConsentType.analyticsStorage`. Valid values are | ||
/// `ConsentStatus.granted` and `ConsentStatus.denied`. | ||
+ (void)setConsent:(NSDictionary<FIRConsentType, FIRConsentStatus> *)consentSettings; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.