Граф коммитов

64 Коммитов

Автор SHA1 Сообщение Дата
Tommy Nguyen 0570c7be12
fix(macos): add anchor points for `applicationWillFinishLaunching(_:)` (#2188) 2024-08-19 15:44:24 +02:00
Tommy Nguyen f64c0659c5
refactor(apple): use `SCRIPT_OUTPUT_FILE_0` instead of path (#2056) 2024-05-29 08:37:13 -05:00
Tommy Nguyen 9535916f31
refactor(apple): move manifest writing to build phase (#2030) 2024-05-10 11:35:58 +02:00
Tommy Nguyen 019cb9347d
feat(apple): declare entitlements in app manifest (#2010) 2024-05-03 11:58:09 +02:00
Tommy Nguyen 9f26369633
feat(apple): add app privacy manifest support (#2002) 2024-04-30 18:23:11 +02:00
Tommy Nguyen e975f97341
fix(apple): embed app manifest directly in code (#1985) 2024-04-29 12:54:04 +02:00
Tommy Nguyen a6a67c7439
fix(apple): update Xcode projects (#1924) 2024-03-20 17:49:12 +01:00
Tommy Nguyen a9ff329958
feat: add support for custom app fonts (#1828)
Fonts are now registered properly when added to the "resources" field in
`app.json`.

Note that the font name may differ between Android and iOS/macOS. Android uses
the filename (without extension) as the id. On iOS/macOS, check the docs:
https://developer.apple.com/documentation/uikit/text_display_and_fonts/adding_a_custom_font_to_your_app
2024-02-12 12:00:37 +00:00
Tommy Nguyen b5d4a8c87a
fix(apple): fix nightlies crashing on startup (#1829) 2024-02-08 17:20:45 +00:00
Tommy Nguyen 25e3488ebe
fix(apple): fix `ReactTestApp_DevSupport` missing bridging header (#1816)
Addresses this non-fatal build error:

```
fatal error: module 'ReactTestApp_DevSupport' in AST file [...] is not
defined in any loaded module map file; maybe you need to load
'/~/macos/Pods/Headers/Public/ReactTestApp_DevSupport/ReactTestApp-DevSupport.modulemap'?
```
2024-02-02 15:57:15 +01:00
Tommy Nguyen bbf41d90dd
fix(macos): ignore undefined `TARGET_OS_*` macros (#1796) 2024-01-29 13:05:29 +01:00
Tommy Nguyen a3cf091864
fix(apple): update `sourceURL(for:)` signature (#1771)
Nullability annotations were added to the interface:
a7c5c2821c
2024-01-16 14:09:59 +01:00
Tommy Nguyen 5383916347 feat(apple)!: bump C++ language standard to C++20 (#1714)
BREAKING CHANGE: Bumping C++ language standard to C++20 breaks React
Native 0.65 and below.
2024-01-10 16:36:40 +01:00
Tommy Nguyen 9559ab475f
chore(macos): treat Swift warnings as errors (#1715) 2023-12-03 21:50:11 +01:00
Tommy Nguyen 9ed0a835ac
fix(apple): disable `deterministic_uuids` starting with 0.73 (#1633) 2023-10-09 14:09:14 +02:00
renovate[bot] c230595b73
chore(deps): update dependency rubocop to v1.56.0 (#1554)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2023-08-25 08:32:37 +00:00
Tommy Nguyen 2a626dd1ec
fix(macos): fix build break introduced in 2.5.13 (#1527) 2023-08-02 10:16:18 +02:00
Tommy Nguyen 37415cab29
refactor(ios): reduce direct usage of `RCTBridge` (#1507) 2023-07-12 21:04:19 +02:00
Saad Najmi e60955ba9c
fix(macos): fix keyboard navigation (#1434) 2023-05-25 10:39:30 +02:00
Tommy Nguyen 241ddaf83e
feat: use `@rnx-kit/react-native-host` (#1363) 2023-04-14 13:00:59 +02:00
Tommy Nguyen b5c08447f7
fix(ios): add support for `react-native-reanimated` (#1197) 2022-11-29 18:22:43 +01:00
Tommy Nguyen c4f425dfbc
feat: add support for `@expo/config-plugins` (#1033) 2022-10-06 18:21:32 +02:00
Tommy Nguyen a8a4cb3329
fix(apple): address script build phase warning in Xcode 14 (#1116)
Addresses the "Run script build phase 'Validate Manifest' will be run
during every build..." warning in Xcode 14.
2022-09-17 12:58:31 +02:00
Tommy Nguyen 13aac0ce8f
fix(macos): fix `mouseDown` always opening React menu (#1040)
React menu popup is for multi-app mode only.
2022-08-07 20:19:41 +02:00
Tommy Nguyen f9ea902ab5
feat: add ability to set app icons (#1022) 2022-07-28 15:01:45 +02:00
Tommy Nguyen 41969aa76c
fix(windows): `validate-manifest` might find the wrong `app.json` (#1006)
Similar to #1005, but this one occurs during `install-windows-test-app`.
2022-07-21 14:57:09 +02:00
Tommy Nguyen f316c2579a
fix(macos): simplify "Get Started" screen (#1001) 2022-07-20 08:30:52 +02:00
Tommy Nguyen 310b481918
fix: trim embedded `app.json` (#1000)
This also removes the SwiftLint phase as it's not useful for consumers,
and we always run it separately on CI regardless.
2022-07-20 08:30:42 +02:00
Tommy Nguyen 6e928e54da
feat: add ability to set app version (#994) 2022-07-15 09:15:12 +02:00
Tommy Nguyen a17eb12e80
feat: add support for single-app mode (#817) 2022-03-24 13:39:13 +01:00
Tommy Nguyen d551dcd0e6
feat: add option to enable Fabric (experimental) (#785) 2022-03-11 12:46:54 +01:00
Tommy Nguyen 5b64b6715d
fix: enable sanitizers in Xcode build settings instead (#784)
Enabling sanitizers in scheme causes issues on some setups when running
XCTests.
2022-02-25 11:28:41 +01:00
Tommy Nguyen d65cd6fcac
fix(macos): harden macOS builds against potential security issues (#760) 2022-02-09 11:36:33 +00:00
Tommy Nguyen d8171ee789 fix(apple): bump C++ language standard 2022-01-26 16:45:48 +01:00
Tommy Nguyen 98cace2706
refactor: generate data models from schema (#666) 2022-01-14 14:15:56 +01:00
Tommy Nguyen aa7ca5396c
docs: remove copyright header from all files (#667) 2022-01-05 13:15:59 +01:00
Tommy Nguyen 496e7fd0e2
feat: validate `app.json` at build time (#653) 2021-12-17 19:52:15 +01:00
Tommy Nguyen 66f120ff1a
fix(macos): fix "no account for team" and missing provisioning profile (#558)
Reverts the code signing changes made to the macOS Xcode project, and
adds the ability to configure code signing from the app manifest.
2021-10-18 10:15:35 +02:00
Tom Underhill f73cdb9be7
fix(macos): fixes to enable MSAL auth framework to work in macOS test apps (#553) 2021-10-13 11:07:52 +00:00
Tommy Nguyen 711f9f8942
feat: add support for custom bundle root (#529) 2021-09-28 15:53:24 +02:00
Tommy Nguyen 5f0f9fd2c0
feat: populate home screen with AppRegistry entries (#482)
* feat: populate home screen with AppRegistry entries

* i -> reverseIndex

* fix ManifestTests.swift

* add common/AppRegistry.*

* add common/AppRegistry.* to podspec

* Windows implementation

* publish /common

* comment

* more comments

* align const placement

* comment #endif

* use ReactInstanceSettings.InstanceLoaded

* unused capture
2021-09-27 14:42:56 +02:00
Tommy Nguyen c20d008927
fix(apple): reduce build noise from Flipper and dependencies (#508) 2021-09-20 11:36:40 +02:00
Tommy Nguyen 71a02d2c5f
fix(apple): notify users when resources are missing (#436) 2021-08-13 14:52:48 +02:00
Tommy Nguyen d1194e425e
fix: use app display name from the manifest (#276)
The test app currently doesn't use `displayName` from the manifest and
just installs itself as `ReactTestApp`.
2021-02-04 09:07:03 +01:00
Tommy Nguyen 131ea038de
fix(macOS): RCTRootView.minimumSize doesn't exist before 0.63 (#269) 2021-01-18 10:44:09 +01:00
Tommy Nguyen 6f64e208e0
fix: Reopen last component from previous session (#262) 2021-01-04 22:13:50 +01:00
Tommy Nguyen 0e11850e2a
fix(Apple): Allow passing options to use_react_native! (#266)
Allow options to be passed directly to `use_react_native!`, such as
`:hermes_enabled` introduced in 0.64:

```rb
use_test_app! :hermes_enabled => true
```
2021-01-04 11:57:12 +01:00
Tommy Nguyen 39bb7da286
fix(iOS): Images don't render on iOS 14 with RN < 0.63.2 (#260)
This change monkey patches React Native on versions prior to 0.63.2 to
fix a bug with images not rendering when on iOS 14.

See https://github.com/facebook/react-native/pull/29420.
2020-12-17 01:57:34 +01:00
Tommy Nguyen 6b0b0931d5
fix: Support for specifying presentation style (#254)
Adds support for specifying presentation style in `app.json`. Only modal
is implemented for now.
2020-12-06 19:07:51 +01:00
Tommy Nguyen 5d7a8f338e
chore(Apple): Remove unused RCTTurboModuleLookupDelegate implementation (#256)
`RCTTurboModuleLookupDelegate` was renamed in React Native 0.64 but we
don't really use it so we're removing it now before it causes trouble.
2020-12-06 16:29:12 +01:00