forked from JefriReynaldi/facebook-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create proper data processing option key type and values
Reviewed By: joesus Differential Revision: D40398418 fbshipit-source-id: ab714a4d50d84b127fa24d5873af2cee4eb14469
- Loading branch information
1 parent
40780e7
commit add1dde
Showing
7 changed files
with
70 additions
and
19 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
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
13 changes: 13 additions & 0 deletions
13
FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKDataProcessingOptionKey.m
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,13 @@ | ||
// | ||
// FBSDKDataProcessingOptionKey.m | ||
// FBSDKCoreKit-Dynamic | ||
// | ||
// Created by Sam Odom on 10/3/22. | ||
// Copyright © 2022 Facebook. All rights reserved. | ||
// | ||
|
||
#import <FBSDKCoreKit/FBSDKDataProcessingOptionKey.h> | ||
|
||
FBSDKDataProcessingOptionKey const FBSDKDataProcessingOptionKeyOptions = @"data_processing_options"; | ||
FBSDKDataProcessingOptionKey const FBSDKDataProcessingOptionKeyCountry = @"data_processing_options_country"; | ||
FBSDKDataProcessingOptionKey const FBSDKDataProcessingOptionKeyState = @"data_processing_options_state"; |
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
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
41 changes: 41 additions & 0 deletions
41
FBSDKCoreKit/FBSDKCoreKit/include/FBSDKDataProcessingOptionKey.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,41 @@ | ||
/* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
/** | ||
Internal type exposed to facilitate transition to Swift. | ||
API Subject to change or removal without warning. Do not use. | ||
@warning INTERNAL - DO NOT USE | ||
*/ | ||
typedef NSString *FBSDKDataProcessingOptionKey NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(DataProcessingOptionKey); | ||
|
||
/** | ||
Internal value exposed to facilitate transition to Swift. | ||
API Subject to change or removal without warning. Do not use. | ||
@warning INTERNAL - DO NOT USE | ||
*/ | ||
FOUNDATION_EXPORT FBSDKDataProcessingOptionKey const FBSDKDataProcessingOptionKeyOptions; | ||
|
||
/** | ||
Internal value exposed to facilitate transition to Swift. | ||
API Subject to change or removal without warning. Do not use. | ||
@warning INTERNAL - DO NOT USE | ||
*/ | ||
FOUNDATION_EXPORT FBSDKDataProcessingOptionKey const FBSDKDataProcessingOptionKeyCountry; | ||
|
||
/** | ||
Internal value exposed to facilitate transition to Swift. | ||
API Subject to change or removal without warning. Do not use. | ||
@warning INTERNAL - DO NOT USE | ||
*/ | ||
FOUNDATION_EXPORT FBSDKDataProcessingOptionKey const FBSDKDataProcessingOptionKeyState; |
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