@fluentui-react-native/tester 0.170.51 → 0.170.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Change Log - @fluentui-react-native/tester
2
2
 
3
+ ## 0.170.52
4
+
5
+ ### Patch Changes
6
+
7
+ - ce37a6d: Remove the final configuration package (moving it to scripts) and switch to running various package validation tasks from the root
8
+ - ad85949: Configuration and dependency changes
9
+ - 51ee2fe: Bump win32 to 0.81
10
+ - f10715d: remove oxlint config package and move it into scripts
11
+ - 1598157: Switch tsconfig settings to more modern settings
12
+
3
13
  ## 0.170.51
4
14
 
5
15
  ### Patch Changes
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.microsoft.reacttestapp">
3
+ <uses-feature android:name="android.hardware.camera.any" android:required="false"></uses-feature>
4
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>
5
+ <uses-permission android:name="android.permission.CAMERA" android:maxSdkVersion="${rntaEnableCamera}"></uses-permission>
6
+ <uses-permission android:name="android.permission.INTERNET"></uses-permission>
7
+ <application android:name=".TestApp" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme" android:usesCleartextTraffic="true" tools:targetApi="m">
8
+ <activity android:name="com.microsoft.reacttestapp.MainActivity" android:exported="true">
9
+ <intent-filter>
10
+ <action android:name="android.intent.action.MAIN"></action>
11
+ <category android:name="android.intent.category.LAUNCHER"></category>
12
+ </intent-filter>
13
+ </activity>
14
+ <activity android:name="com.microsoft.reacttestapp.component.ComponentActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" android:windowSoftInputMode="adjustResize"></activity>
15
+ </application>
16
+ </manifest>
@@ -1,6 +1,6 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
4
4
  networkTimeout=10000
5
5
  validateDistributionUrl=true
6
6
  zipStoreBase=GRADLE_USER_HOME
package/babel.config.js CHANGED
@@ -1 +1 @@
1
- module.exports = require('@fluentui-react-native/babel-config');
1
+ module.exports = require('@fluentui-react-native/scripts/babel-config');
package/ios/Podfile CHANGED
@@ -15,8 +15,26 @@ react_native_path = "#{__dir__}/../node_modules/react-native"
15
15
  # (node-modules mode)
16
16
  # react_native_path = "#{__dir__}/../../../node_modules/react-native"
17
17
 
18
- use_test_app! do |target|
18
+ # fmt 11.0.2 (pinned by React Native 0.81) fails to compile with Xcode 26 / Apple Clang 21, which is
19
+ # stricter about `consteval` (fixed upstream in fmt 11.1). Force fmt's compile-time consteval
20
+ # format-string checking off so the bundled fmt builds. This is ABI-safe and avoids a version bump
21
+ # (multiple pods pin fmt = 11.0.2). Re-applied on every `pod install`.
22
+ def patch_fmt_consteval(installer)
23
+ fmt_base = File.join(installer.sandbox.root.to_s, 'fmt', 'include', 'fmt', 'base.h')
24
+ return unless File.exist?(fmt_base)
25
+
26
+ contents = File.read(fmt_base)
27
+ patched = contents.gsub('# define FMT_USE_CONSTEVAL 1', '# define FMT_USE_CONSTEVAL 0')
28
+ return if patched == contents
29
+
30
+ # CocoaPods marks pod sources read-only; make the file writable before patching.
31
+ File.chmod(0o644, fmt_base)
32
+ File.write(fmt_base, patched)
33
+ Pod::UI.puts '[FluentTester] Patched fmt base.h to disable consteval (Xcode 26 / Clang 21 workaround)'
34
+ end
35
+
36
+ use_test_app!(:post_install => ->(installer) { patch_fmt_consteval(installer) }) do |target|
19
37
  target.app do
20
- platform :ios, '15.0'
38
+ platform :ios, '16.0'
21
39
  end
22
40
  end