Skip to content

Commit bfe6b8c

Browse files
committed
macos-example
1 parent b87f204 commit bfe6b8c

File tree

14 files changed

+2124
-12
lines changed

14 files changed

+2124
-12
lines changed

examples/example-react-native/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source 'https://rubygems.org'
22

33
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4-
ruby ">= 2.6.10"
4+
ruby "3.3.6"
55

66
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
77
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'

examples/example-react-native/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ws_dir = ws_dir.parent until
44
ws_dir.expand_path.to_s == '/'
55
require "#{ws_dir}/node_modules/react-native-test-app/test_app.rb"
66

7-
workspace 'Example.xcworkspace'
7+
workspace 'AsyncStorageIosExample.xcworkspace'
88

99
# 1 - enable new arch, 0 - disable it
1010
ENV["RCT_NEW_ARCH_ENABLED"]="1"

examples/example-react-native/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,7 @@ EXTERNAL SOURCES:
19451945
:path: "../node_modules/react-native/ReactCommon/yoga"
19461946

19471947
SPEC CHECKSUMS:
1948-
AsyncStorage: e48f2e48ebaf834ae6f82fe5198a172bfe888505
1948+
AsyncStorage: 252b24e7093dc051978e2cc9d0b73b0868ab9b0f
19491949
boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90
19501950
DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb
19511951
fast_float: 06eeec4fe712a76acc9376682e4808b05ce978b6
@@ -2021,6 +2021,6 @@ SPEC CHECKSUMS:
20212021
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
20222022
Yoga: dc7c21200195acacb62fa920c588e7c2106de45e
20232023

2024-
PODFILE CHECKSUM: 253a02309bd7ddddfddac196862e46ea78ba9e46
2024+
PODFILE CHECKSUM: 391eb3578e15337237f8b35648c5243a10f7edfe
20252025

20262026
COCOAPODS: 1.15.2
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ws_dir = Pathname.new(__dir__)
2+
ws_dir = ws_dir.parent until
3+
File.exist?("#{ws_dir}/node_modules/react-native-test-app/macos/test_app.rb") ||
4+
ws_dir.expand_path.to_s == '/'
5+
require "#{ws_dir}/node_modules/react-native-test-app/macos/test_app.rb"
6+
7+
workspace 'AsyncStorageMacosExample.xcworkspace'
8+
9+
# 1 - enable new arch, 0 - disable it
10+
ENV["RCT_NEW_ARCH_ENABLED"]="1"
11+
12+
use_test_app! :hermes_enabled => true, :fabric_enabled => false

0 commit comments

Comments
 (0)