Skip to content

Commit a4cd611

Browse files
committed
Merge branch 'main' into feat/expo-config-plugin
2 parents 470be26 + 18b9f90 commit a4cd611

43 files changed

Lines changed: 870 additions & 181 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,22 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14+
check-changeset:
15+
name: Check changeset
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Setup
24+
uses: ./.github/actions/setup
25+
26+
- name: Check changeset
27+
if: github.ref != 'refs/heads/main'
28+
run: yarn changeset status --since=origin/${{ github.base_ref }}
29+
1430
build-lint:
1531
name: Build & static code analysis
1632
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
99

1010
jobs:
1111
release:
12-
environment:
13-
name: release
1412
permissions:
1513
contents: write
1614
id-token: write
@@ -26,10 +24,16 @@ jobs:
2624
with:
2725
restore-turbo-cache: 'false' # in release workflow, build from scratch
2826

27+
28+
- name: Build
29+
run: yarn build
30+
2931
- name: Create Release Pull Request or Publish to NPM
3032
uses: changesets/action@e9cc34b540dd3ad1b030c57fd97269e8f6ad905a # v1.4.9
3133
with:
32-
version: yarn version-packages
33-
publish: yarn publish-packages
34+
version: yarn ci:version
35+
publish: yarn ci:publish
3436
commit: 'chore(release): version packages'
3537
title: 'chore(release): version packages'
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<a href="https://www.callstack.com/open-source?utm_campaign=generic&utm_source=github&utm_medium=referral&utm_content=react-native-brownfield" align="center">
2-
<img alt="React Native Brownfield" src="https://github.com/user-attachments/assets/55fcdff5-54f0-4081-adf6-55dfa5c29af2">
2+
<img alt="React Native Brownfield" src="https://github.com/callstack/react-native-brownfield/raw/refs/heads/main/img/brownfield-banner.jpg">
33
</a>
44

55
<p align="center">
@@ -30,6 +30,7 @@
3030
- Works well with **any native navigation** pattern, as well as any React Native JavaScript-based navigation
3131
- Compatible with all native languages **Objective-C**, **Swift**, **Java** and **Kotlin**
3232
- Supports UIKit and SwiftUI on iOS and Fragments and Jetpack Compose on Android
33+
- Out-of-the-box **CLI** that automates the build process
3334

3435
## Documentation
3536

@@ -74,7 +75,7 @@ This project follows the [all-contributors](https://github.com/kentcdodds/all-co
7475
[all-contributors-badge]: https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square
7576
[chat-badge]: https://img.shields.io/discord/613446453762719798.svg?style=flat-square&colorB=758ED3
7677
[chat]: https://discord.gg/2SR9Mua
77-
[tweet-badge]: https://img.shields.io/badge/tweet-%23reacnativebrownfield-blue.svg?style=flat-square&colorB=1DA1F2&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAUCAYAAACXtf2DAAAAAXNSR0IArs4c6QAAAaRJREFUOBGtlM8rBGEYx3cWtRHJRaKcuMtBSitxkCQ3LtzkP9iUUu5ODspRHLhRLtq0FxeicEBC2cOivcge%2FMgan3fNM8bbzL4zm6c%2BPT%2Fe7%2FO8887svrFYBWbbtgWzsAt3sAcpqJFxxF1QV8oJFqFPFst5dLWQAT87oTgPB7DtziFRT1EA4yZolsFkhwjGYFRO8Op0KD8HVe7unoB6PRTBZG8IctAmG1xrHcfkQ2B55sfI%2ByGMXSBqV71xZ8CWdxBxN6ThFuECDEAL%2Bc9HIzDYumVZ966GZnX0SzCZvEqTbkaGywkyFE6hKAsBPhFQ18uPUqh2ggJ%2BUor%2F4M%2F%2FzOC8g6YzR1i%2F8g4vvSI%2ByD7FFNjexQrjHd8%2BnjABI3AU4Wl16TuF1qANGll81jsi5qu%2Bw6XIsCn4ijhU5FmCJpkV6BGNw410hfSf6JKBQ%2FUFxHGYBnWnmOwDwYQ%2BwzdHqO75HtiAMJfaC7ph32FSRJCENUhDHsLaJkL%2FX4wMF4%2BwA5bgAcrZE4sr0Cu9Jq9fxyrvBHWbNkMD5CEHWTjjT2m6r5D92jfmbbKJEWuMMAAAAABJRU5ErkJggg%3D%3D
78+
[tweet-badge]: https://img.shields.io/badge/tweet-%23reactnativebrownfield-blue.svg?style=flat-square&colorB=1DA1F2&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAUCAYAAACXtf2DAAAAAXNSR0IArs4c6QAAAaRJREFUOBGtlM8rBGEYx3cWtRHJRaKcuMtBSitxkCQ3LtzkP9iUUu5ODspRHLhRLtq0FxeicEBC2cOivcge%2FMgan3fNM8bbzL4zm6c%2BPT%2Fe7%2FO8887svrFYBWbbtgWzsAt3sAcpqJFxxF1QV8oJFqFPFst5dLWQAT87oTgPB7DtziFRT1EA4yZolsFkhwjGYFRO8Op0KD8HVe7unoB6PRTBZG8IctAmG1xrHcfkQ2B55sfI%2ByGMXSBqV71xZ8CWdxBxN6ThFuECDEAL%2Bc9HIzDYumVZ966GZnX0SzCZvEqTbkaGywkyFE6hKAsBPhFQ18uPUqh2ggJ%2BUor%2F4M%2F%2FzOC8g6YzR1i%2F8g4vvSI%2ByD7FFNjexQrjHd8%2BnjABI3AU4Wl16TuF1qANGll81jsi5qu%2Bw6XIsCn4ijhU5FmCJpkV6BGNw410hfSf6JKBQ%2FUFxHGYBnWnmOwDwYQ%2BwzdHqO75HtiAMJfaC7ph32FSRJCENUhDHsLaJkL%2FX4wMF4%2BwA5bgAcrZE4sr0Cu9Jq9fxyrvBHWbNkMD5CEHWTjjT2m6r5D92jfmbbKJEWuMMAAAAABJRU5ErkJggg%3D%3D
7879
[tweet]: https://twitter.com/intent/tweet?text=Check%20out%20react-native-brownfield!%20https://github.com/callstack/react-native-brownfield%20%F0%9F%91%8D
7980
[callstack-badge]: https://callstack.com/images/callstack-badge.svg
8081
[callstack]: https://callstack.com/open-source/?utm_source=github.com&utm_medium=referral&utm_campaign=rnbrownfield&utm_term=readme

apps/AppleApp/Brownfield Apple App/BrownfieldAppleApp.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ struct BrownfieldAppleApp: App {
1616
ReactNativeBrownfield.shared.startReactNative {
1717
print("React Native has been loaded")
1818
}
19-
20-
_ = Store(initialState, key: BrownfieldStore.storeName)
19+
20+
BrownfieldStore.register(initialState)
2121
}
2222

2323
var body: some Scene {

apps/RNApp/Gemfile.lock

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,17 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
CFPropertyList (3.0.8)
5-
activesupport (7.2.3)
6-
base64
7-
benchmark (>= 0.3)
8-
bigdecimal
9-
concurrent-ruby (~> 1.0, >= 1.3.1)
10-
connection_pool (>= 2.2.5)
11-
drb
5+
activesupport (7.0.8.7)
6+
concurrent-ruby (~> 1.0, >= 1.0.2)
127
i18n (>= 1.6, < 2)
13-
logger (>= 1.4.2)
148
minitest (>= 5.1)
15-
securerandom (>= 0.3)
16-
tzinfo (~> 2.0, >= 2.0.5)
9+
tzinfo (~> 2.0)
1710
addressable (2.8.8)
1811
public_suffix (>= 2.0.2, < 8.0)
1912
algoliasearch (1.27.5)
2013
httpclient (~> 2.8, >= 2.8.3)
2114
json (>= 1.5.1)
2215
atomos (0.1.3)
23-
base64 (0.3.0)
2416
benchmark (0.5.0)
2517
bigdecimal (4.0.1)
2618
claide (1.1.0)
@@ -63,8 +55,6 @@ GEM
6355
cocoapods-try (1.2.0)
6456
colored2 (3.1.2)
6557
concurrent-ruby (1.3.3)
66-
connection_pool (3.0.2)
67-
drb (2.2.3)
6858
escape (0.0.4)
6959
ethon (0.15.0)
7060
ffi (>= 1.15.0)
@@ -78,19 +68,16 @@ GEM
7868
concurrent-ruby (~> 1.0)
7969
json (2.18.0)
8070
logger (1.7.0)
81-
minitest (6.0.1)
82-
prism (~> 1.5)
71+
minitest (5.26.1)
8372
molinillo (0.8.0)
8473
mutex_m (0.3.0)
8574
nanaimo (0.3.0)
8675
nap (1.1.0)
8776
netrc (0.11.0)
8877
nkf (0.2.0)
89-
prism (1.8.0)
9078
public_suffix (4.0.7)
9179
rexml (3.4.4)
9280
ruby-macho (2.5.1)
93-
securerandom (0.4.1)
9481
typhoeus (1.5.0)
9582
ethon (>= 0.9.0, < 0.16.0)
9683
tzinfo (2.0.6)

apps/RNApp/ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
22
- boost (1.84.0)
3-
- Brownie (0.0.1):
3+
- Brownie (0.0.2):
44
- boost
55
- DoubleConversion
66
- fast_float
@@ -2350,7 +2350,7 @@ PODS:
23502350
- SocketRocket
23512351
- ReactAppDependencyProvider (0.82.1):
23522352
- ReactCodegen
2353-
- ReactBrownfield (2.0.1):
2353+
- ReactBrownfield (2.0.2):
23542354
- boost
23552355
- DoubleConversion
23562356
- fast_float
@@ -2772,7 +2772,7 @@ EXTERNAL SOURCES:
27722772

27732773
SPEC CHECKSUMS:
27742774
boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90
2775-
Brownie: 6d3a2e0ddd7d92e80f53220569f42357436ef269
2775+
Brownie: 7d61f137d29184655ce5a523c68dd97dc1a7ef3f
27762776
DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb
27772777
fast_float: b32c788ed9c6a8c584d114d0047beda9664e7cc6
27782778
FBLazyVector: 0aa6183b9afe3c31fc65b5d1eeef1f3c19b63bfa
@@ -2843,7 +2843,7 @@ SPEC CHECKSUMS:
28432843
React-utils: f06ff240e06e2bd4b34e48f1b34cac00866e8979
28442844
React-webperformancenativemodule: b3398f8175fa96d992c071b1fa59bd6f9646b840
28452845
ReactAppDependencyProvider: a45ef34bb22dc1c9b2ac1f74167d9a28af961176
2846-
ReactBrownfield: 1609c411abb926b1fd3c8557ef67d4138fb56a02
2846+
ReactBrownfield: 448b985beafcc7db2a2794df9e950907cb49a373
28472847
ReactCodegen: 0bce2d209e2e802589f4c5ff76d21618200e74cb
28482848
ReactCommon: 801eff8cb9c940c04d3a89ce399c343ee3eff654
28492849
RNScreens: d6413aeb1878cdafd3c721e2c5218faf5d5d3b13

apps/RNApp/ios/RNApp.xcodeproj/project.pbxproj

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
0AF1414240CE2891676C3CF5 /* Pods_RNApp_BrownfieldLib.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5847633C6FB221FD423653AE /* Pods_RNApp_BrownfieldLib.framework */; };
1110
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
12-
6858E2980480F2D1CDE55629 /* Pods_RNApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C9D6297085667BA7D6ADD88C /* Pods_RNApp.framework */; };
1311
761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
1412
79BD1EE92EEBFB76003AA29F /* BrownfieldLib.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 79BD1EE32EEBFB76003AA29F /* BrownfieldLib.framework */; };
1513
79BD1EEA2EEBFB76003AA29F /* BrownfieldLib.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 79BD1EE32EEBFB76003AA29F /* BrownfieldLib.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1614
79F35E8C2EEC1D4500E64860 /* BrownfieldLib.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79F35E8A2EEC1D4500E64860 /* BrownfieldLib.swift */; };
1715
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
16+
A19F59C8902E0F7A03F2A8C6 /* Pods_RNApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B6CBC8DE61C44A9AB569A3CA /* Pods_RNApp.framework */; };
17+
BFB326E698C6BD239F8AEAE9 /* Pods_RNApp_BrownfieldLib.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64481842743F90E340AD414A /* Pods_RNApp_BrownfieldLib.framework */; };
1818
C66C2A65406C527E9529D08F /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
1919
/* End PBXBuildFile section */
2020

@@ -49,13 +49,13 @@
4949
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = RNApp/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
5050
3B4392A12AC88292D35C810B /* Pods-RNApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNApp.debug.xcconfig"; path = "Target Support Files/Pods-RNApp/Pods-RNApp.debug.xcconfig"; sourceTree = "<group>"; };
5151
5709B34CF0A7D63546082F79 /* Pods-RNApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNApp.release.xcconfig"; path = "Target Support Files/Pods-RNApp/Pods-RNApp.release.xcconfig"; sourceTree = "<group>"; };
52-
5847633C6FB221FD423653AE /* Pods_RNApp_BrownfieldLib.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RNApp_BrownfieldLib.framework; sourceTree = BUILT_PRODUCTS_DIR; };
52+
64481842743F90E340AD414A /* Pods_RNApp_BrownfieldLib.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RNApp_BrownfieldLib.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5353
761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = RNApp/AppDelegate.swift; sourceTree = "<group>"; };
5454
79BD1EE32EEBFB76003AA29F /* BrownfieldLib.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BrownfieldLib.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5555
79F35E8A2EEC1D4500E64860 /* BrownfieldLib.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BrownfieldLib.swift; sourceTree = "<group>"; };
5656
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RNApp/LaunchScreen.storyboard; sourceTree = "<group>"; };
5757
8A02E03D9F74B585B0A8F7F7 /* Pods-RNApp-BrownfieldLib.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNApp-BrownfieldLib.debug.xcconfig"; path = "Target Support Files/Pods-RNApp-BrownfieldLib/Pods-RNApp-BrownfieldLib.debug.xcconfig"; sourceTree = "<group>"; };
58-
C9D6297085667BA7D6ADD88C /* Pods_RNApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RNApp.framework; sourceTree = BUILT_PRODUCTS_DIR; };
58+
B6CBC8DE61C44A9AB569A3CA /* Pods_RNApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RNApp.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5959
D8C030F60E402FD6CFBB3904 /* Pods-RNApp-BrownfieldLib.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNApp-BrownfieldLib.release.xcconfig"; path = "Target Support Files/Pods-RNApp-BrownfieldLib/Pods-RNApp-BrownfieldLib.release.xcconfig"; sourceTree = "<group>"; };
6060
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
6161
/* End PBXFileReference section */
@@ -66,15 +66,15 @@
6666
buildActionMask = 2147483647;
6767
files = (
6868
79BD1EE92EEBFB76003AA29F /* BrownfieldLib.framework in Frameworks */,
69-
6858E2980480F2D1CDE55629 /* Pods_RNApp.framework in Frameworks */,
69+
A19F59C8902E0F7A03F2A8C6 /* Pods_RNApp.framework in Frameworks */,
7070
);
7171
runOnlyForDeploymentPostprocessing = 0;
7272
};
7373
79BD1EE02EEBFB76003AA29F /* Frameworks */ = {
7474
isa = PBXFrameworksBuildPhase;
7575
buildActionMask = 2147483647;
7676
files = (
77-
0AF1414240CE2891676C3CF5 /* Pods_RNApp_BrownfieldLib.framework in Frameworks */,
77+
BFB326E698C6BD239F8AEAE9 /* Pods_RNApp_BrownfieldLib.framework in Frameworks */,
7878
);
7979
runOnlyForDeploymentPostprocessing = 0;
8080
};
@@ -97,8 +97,8 @@
9797
isa = PBXGroup;
9898
children = (
9999
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
100-
C9D6297085667BA7D6ADD88C /* Pods_RNApp.framework */,
101-
5847633C6FB221FD423653AE /* Pods_RNApp_BrownfieldLib.framework */,
100+
B6CBC8DE61C44A9AB569A3CA /* Pods_RNApp.framework */,
101+
64481842743F90E340AD414A /* Pods_RNApp_BrownfieldLib.framework */,
102102
);
103103
name = Frameworks;
104104
sourceTree = "<group>";
@@ -437,7 +437,7 @@
437437
CURRENT_PROJECT_VERSION = 1;
438438
ENABLE_BITCODE = NO;
439439
INFOPLIST_FILE = RNApp/Info.plist;
440-
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
440+
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
441441
LD_RUNPATH_SEARCH_PATHS = (
442442
"$(inherited)",
443443
"@executable_path/Frameworks",
@@ -464,7 +464,7 @@
464464
CLANG_ENABLE_MODULES = YES;
465465
CURRENT_PROJECT_VERSION = 1;
466466
INFOPLIST_FILE = RNApp/Info.plist;
467-
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
467+
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
468468
LD_RUNPATH_SEARCH_PATHS = (
469469
"$(inherited)",
470470
"@executable_path/Frameworks",
@@ -507,7 +507,7 @@
507507
GENERATE_INFOPLIST_FILE = YES;
508508
INFOPLIST_KEY_NSHumanReadableCopyright = "";
509509
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
510-
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
510+
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
511511
LD_RUNPATH_SEARCH_PATHS = (
512512
"@executable_path/Frameworks",
513513
"@loader_path/Frameworks",
@@ -517,7 +517,7 @@
517517
"@loader_path/Frameworks",
518518
);
519519
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
520-
MACOSX_DEPLOYMENT_TARGET = 15.6;
520+
MACOSX_DEPLOYMENT_TARGET = 26.0;
521521
MARKETING_VERSION = 1.0;
522522
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
523523
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
@@ -540,7 +540,7 @@
540540
TARGETED_DEVICE_FAMILY = "1,2,7";
541541
VERSIONING_SYSTEM = "apple-generic";
542542
VERSION_INFO_PREFIX = "";
543-
XROS_DEPLOYMENT_TARGET = 26.1;
543+
XROS_DEPLOYMENT_TARGET = 26.0;
544544
};
545545
name = Debug;
546546
};
@@ -570,7 +570,7 @@
570570
GENERATE_INFOPLIST_FILE = YES;
571571
INFOPLIST_KEY_NSHumanReadableCopyright = "";
572572
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
573-
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
573+
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
574574
LD_RUNPATH_SEARCH_PATHS = (
575575
"@executable_path/Frameworks",
576576
"@loader_path/Frameworks",
@@ -580,7 +580,7 @@
580580
"@loader_path/Frameworks",
581581
);
582582
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
583-
MACOSX_DEPLOYMENT_TARGET = 15.6;
583+
MACOSX_DEPLOYMENT_TARGET = 26.0;
584584
MARKETING_VERSION = 1.0;
585585
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
586586
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
@@ -601,7 +601,7 @@
601601
TARGETED_DEVICE_FAMILY = "1,2,7";
602602
VERSIONING_SYSTEM = "apple-generic";
603603
VERSION_INFO_PREFIX = "";
604-
XROS_DEPLOYMENT_TARGET = 26.1;
604+
XROS_DEPLOYMENT_TARGET = 26.0;
605605
};
606606
name = Release;
607607
};

apps/TesterIntegrated/swift/App.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ struct MyApp: App {
2121
print("loaded")
2222
}
2323

24-
_ = Store(initialState, key: BrownfieldStore.storeName)
24+
BrownfieldStore.register(initialState)
2525
}
2626

2727
var body: some Scene {

docs/docs/brownie/_meta.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"name": "overview",
55
"label": "Overview"
66
},
7+
{
8+
"type": "file",
9+
"name": "getting-started",
10+
"label": "Getting Started"
11+
},
712
{
813
"type": "file",
914
"name": "store-definition",

docs/docs/brownie/codegen.mdx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,6 @@ The generated struct:
5454
- Conforms to `BrownieStoreProtocol` with auto-generated `storeName`
5555
- Uses mutable `var` properties
5656

57-
## Auto-Generation Hooks
58-
59-
### iOS (Podfile)
60-
61-
Run codegen before pod install:
62-
63-
```ruby
64-
pre_install do |installer|
65-
system("npx", "brownie", "codegen", "-p", "swift")
66-
end
67-
```
6857

6958
## How It Works
7059

0 commit comments

Comments
 (0)