Skip to content

Commit

Permalink
Add versioned code for SDK 49 on iOS (expo#23071)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsapeta authored Jun 26, 2023
1 parent 2a35907 commit af2ec01
Show file tree
Hide file tree
Showing 3,861 changed files with 457,736 additions and 4 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<array>
<string>47.0.0</string>
<string>48.0.0</string>
<string>49.0.0</string>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"sdkVersions":["47.0.0","48.0.0"]}
{"sdkVersions":["47.0.0","48.0.0","49.0.0"]}
2 changes: 1 addition & 1 deletion ios/ExpoKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Pod::Spec.new do |s|
s.name = "ExpoKit"
s.version = "48.0.0"
s.version = "49.0.0"
s.summary = 'ExpoKit'
s.description = 'ExpoKit allows native projects to integrate with the Expo SDK.'
s.homepage = 'http://docs.expo.io'
Expand Down
4 changes: 4 additions & 0 deletions ios/Exponent.xcodeproj/project.pbxproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions ios/Exponent/Kernel/Views/EXAppViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
#import <ExpoModulesCore/EXModuleRegistryProvider.h>

#import <React/RCTAppearance.h>
#if defined(INCLUDES_VERSIONED_CODE) && __has_include(<ABI49_0_0React/ABI49_0_0RCTAppearance.h>)
#import <ABI49_0_0React/ABI49_0_0RCTAppearance.h>
#endif
#if defined(INCLUDES_VERSIONED_CODE) && __has_include(<ABI48_0_0React/ABI48_0_0RCTAppearance.h>)
#import <ABI48_0_0React/ABI48_0_0RCTAppearance.h>
#endif
Expand Down Expand Up @@ -636,6 +639,9 @@ - (void)_overrideAppearanceModuleBehaviour
appearancePreference = nil;
}
RCTOverrideAppearancePreference(appearancePreference);
#if defined(INCLUDES_VERSIONED_CODE) && __has_include(<ABI49_0_0React/ABI49_0_0RCTAppearance.h>)
ABI49_0_0RCTOverrideAppearancePreference(appearancePreference);
#endif
#if defined(INCLUDES_VERSIONED_CODE) && __has_include(<ABI48_0_0React/ABI48_0_0RCTAppearance.h>)
ABI48_0_0RCTOverrideAppearancePreference(appearancePreference);
#endif
Expand Down
1 change: 1 addition & 0 deletions ios/Exponent/Supporting/EXSDKVersions.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<array>
<string>47.0.0</string>
<string>48.0.0</string>
<string>49.0.0</string>
</array>
</dict>
</plist>
2 changes: 1 addition & 1 deletion ios/Exponent/Supporting/sdkVersions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"sdkVersions":["47.0.0","48.0.0"]}
{"sdkVersions":["47.0.0","48.0.0","49.0.0"]}
Loading

0 comments on commit af2ec01

Please sign in to comment.