docstring_tokens
stringlengths 18
16.9k
| code_tokens
stringlengths 75
1.81M
| html_url
stringlengths 74
116
| file_name
stringlengths 3
311
|
---|---|---|---|
keep keep add keep keep keep keep keep
|
<mask> }
<mask> await ExpoHaptics.impactAsync(style);
<mask> }
<mask> /**
<mask> * Used to let a user know when a selection change has been registered.
<mask> * @return A `Promise` which fulfils once native size haptics functionality is triggered.
<mask> */
<mask> export async function selectionAsync() {
</s> [haptics] add doc comments in source (#13288) </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> add // @needsAudit </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> add // @needsAudit </s> remove * Triggers impact feedback.
</s> add * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
* while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.js
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask> await ExpoHaptics.impactAsync(style);
<mask> }
<mask> /**
<mask> * Triggers selection feedback.
<mask> */
<mask> export async function selectionAsync() {
<mask> if (!ExpoHaptics.selectionAsync) {
<mask> throw new UnavailabilityError('Haptic', 'selectionAsync');
<mask> }
</s> [haptics] add doc comments in source (#13288) </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers impact feedback.
</s> add * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
* while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> add // @needsAudit </s> remove * Triggers notification feedback.
</s> add * The kind of notification response used in the feedback.
* @param type A notification feedback type that on iOS is directly mapped to [UINotificationFeedbackType](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype),
* while on Android these are simulated using [Vibrator](vibrator).
* You can use one of `Haptics.NotificationFeedbackType.{Success, Warning, Error}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers impact feedback.
</s> add * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
* while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.js
|
keep replace keep replace keep keep
|
<mask> /**
<mask> * Notification Feedback Type
<mask> * The type of notification feedback generated by a UINotificationFeedbackGenerator object.
<mask> * https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype
<mask> */
<mask> export declare enum NotificationFeedbackType {
</s> [haptics] add doc comments in source (#13288) </s> remove * Notification Feedback Type
</s> add </s> remove * https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype
</s> add * [`UINotificationFeedbackType`](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) </s> remove * Notification Feedback Type
</s> add </s> remove * https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype
</s> add * [`UINotificationFeedbackType`](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle)
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.types.d.ts
|
keep keep replace keep keep keep replace keep keep
|
<mask> export declare enum NotificationFeedbackType {
<mask> /**
<mask> * A notification feedback type indicating that a task has completed successfully
<mask> */
<mask> Success = "success",
<mask> /**
<mask> * A notification feedback type indicating that a task has produced a warning
<mask> */
<mask> Warning = "warning",
</s> [haptics] add doc comments in source (#13288) </s> remove * A notification feedback type indicating that a task has completed successfully
</s> add * A notification feedback type indicating that a task has completed successfully. </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning. </s> remove * A notification feedback type indicating that a task has failed
</s> add * A notification feedback type indicating that a task has failed. </s> remove * A notification feedback type indicating that a task has completed successfully
</s> add * A notification feedback type indicating that a task has completed successfully. </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.types.d.ts
|
keep keep keep keep replace keep keep keep keep replace replace replace
|
<mask> * A notification feedback type indicating that a task has produced a warning
<mask> */
<mask> Warning = "warning",
<mask> /**
<mask> * A notification feedback type indicating that a task has failed
<mask> */
<mask> Error = "error"
<mask> }
<mask> /**
<mask> * Impact Feedback Style
<mask> * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
<mask> * https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> [haptics] add doc comments in source (#13288) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning. </s> remove * A notification feedback type indicating that a task has failed
</s> add * A notification feedback type indicating that a task has failed. </s> remove * A notification feedback type indicating that a task has failed
</s> add * A notification feedback type indicating that a task has failed.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.types.d.ts
|
keep keep replace keep keep keep replace keep keep keep
|
<mask> export declare enum ImpactFeedbackStyle {
<mask> /**
<mask> * A collision between small, light user interface elements
<mask> */
<mask> Light = "light",
<mask> /**
<mask> * A collision between moderately sized user interface elements
<mask> */
<mask> Medium = "medium",
<mask> /**
</s> [haptics] add doc comments in source (#13288) </s> remove * A collision between small, light user interface elements
</s> add * A collision between small, light user interface elements. </s> remove * A collision between moderately sized user interface elements
</s> add * A collision between moderately sized user interface elements. </s> remove * A collision between large, heavy user interface elements
</s> add * A collision between large, heavy user interface elements. </s> remove * A collision between small, light user interface elements
</s> add * A collision between small, light user interface elements. </s> remove * A collision between moderately sized user interface elements
</s> add * A collision between moderately sized user interface elements.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.types.d.ts
|
keep keep keep keep replace keep keep keep
|
<mask> * A collision between moderately sized user interface elements
<mask> */
<mask> Medium = "medium",
<mask> /**
<mask> * A collision between large, heavy user interface elements
<mask> */
<mask> Heavy = "heavy"
<mask> }
</s> [haptics] add doc comments in source (#13288) </s> remove * A collision between large, heavy user interface elements
</s> add * A collision between large, heavy user interface elements. </s> remove * A collision between moderately sized user interface elements
</s> add * A collision between moderately sized user interface elements. </s> remove * A collision between moderately sized user interface elements
</s> add * A collision between moderately sized user interface elements. </s> remove * A collision between moderately sized user interface elements
</s> add * A collision between moderately sized user interface elements. </s> remove * A collision between large, heavy user interface elements
</s> add * A collision between large, heavy user interface elements. </s> remove * A collision between small, light user interface elements
</s> add * A collision between small, light user interface elements.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.types.d.ts
|
keep replace keep replace keep keep keep
|
<mask> /**
<mask> * Notification Feedback Type
<mask> * The type of notification feedback generated by a UINotificationFeedbackGenerator object.
<mask> * https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype
<mask> */
<mask> export var NotificationFeedbackType;
<mask> (function (NotificationFeedbackType) {
</s> [haptics] add doc comments in source (#13288) </s> remove * Notification Feedback Type
</s> add </s> remove * Notification Feedback Type
</s> add </s> remove * https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype
</s> add * [`UINotificationFeedbackType`](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) </s> remove * https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype
</s> add * [`UINotificationFeedbackType`](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) </s> remove * A notification feedback type indicating that a task has completed successfully
</s> add * A notification feedback type indicating that a task has completed successfully.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.types.js
|
keep keep keep replace keep keep keep replace keep keep
|
<mask> export var NotificationFeedbackType;
<mask> (function (NotificationFeedbackType) {
<mask> /**
<mask> * A notification feedback type indicating that a task has completed successfully
<mask> */
<mask> NotificationFeedbackType["Success"] = "success";
<mask> /**
<mask> * A notification feedback type indicating that a task has produced a warning
<mask> */
<mask> NotificationFeedbackType["Warning"] = "warning";
</s> [haptics] add doc comments in source (#13288) </s> remove * https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype
</s> add * [`UINotificationFeedbackType`](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) </s> remove * A notification feedback type indicating that a task has failed
</s> add * A notification feedback type indicating that a task has failed. </s> remove * A notification feedback type indicating that a task has completed successfully
</s> add * A notification feedback type indicating that a task has completed successfully. </s> remove * A notification feedback type indicating that a task has completed successfully
</s> add * A notification feedback type indicating that a task has completed successfully. </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.types.js
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> * A notification feedback type indicating that a task has produced a warning
<mask> */
<mask> NotificationFeedbackType["Warning"] = "warning";
<mask> /**
<mask> * A notification feedback type indicating that a task has failed
<mask> */
<mask> NotificationFeedbackType["Error"] = "error";
<mask> })(NotificationFeedbackType || (NotificationFeedbackType = {}));
<mask> /**
<mask> * Impact Feedback Style
</s> [haptics] add doc comments in source (#13288) </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning. </s> remove * A notification feedback type indicating that a task has failed
</s> add * A notification feedback type indicating that a task has failed. </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning. </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning. </s> add // @needsAudit
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.types.js
|
keep add keep keep keep keep
|
<mask> NotificationFeedbackType["Error"] = "error";
<mask> })(NotificationFeedbackType || (NotificationFeedbackType = {}));
<mask> /**
<mask> * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
<mask> * [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle)
<mask> */
</s> [haptics] add doc comments in source (#13288) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> add // @needsAudit </s> remove * A notification feedback type indicating that a task has failed
</s> add * A notification feedback type indicating that a task has failed. </s> remove * A collision between large, heavy user interface elements
</s> add * A collision between large, heavy user interface elements.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.types.js
|
keep replace replace replace keep keep keep keep replace keep keep keep
|
<mask> /**
<mask> * Impact Feedback Style
<mask> * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
<mask> * https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
<mask> */
<mask> export var ImpactFeedbackStyle;
<mask> (function (ImpactFeedbackStyle) {
<mask> /**
<mask> * A collision between small, light user interface elements
<mask> */
<mask> ImpactFeedbackStyle["Light"] = "light";
<mask> /**
</s> [haptics] add doc comments in source (#13288) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> add // @needsAudit </s> remove * A collision between moderately sized user interface elements
</s> add * A collision between moderately sized user interface elements. </s> add // @needsAudit
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.types.js
|
keep replace keep keep keep replace keep
|
<mask> /**
<mask> * A collision between moderately sized user interface elements
<mask> */
<mask> ImpactFeedbackStyle["Medium"] = "medium";
<mask> /**
<mask> * A collision between large, heavy user interface elements
<mask> */
</s> [haptics] add doc comments in source (#13288) </s> remove * A collision between moderately sized user interface elements
</s> add * A collision between moderately sized user interface elements. </s> remove * A collision between moderately sized user interface elements
</s> add * A collision between moderately sized user interface elements. </s> remove * A collision between large, heavy user interface elements
</s> add * A collision between large, heavy user interface elements. </s> remove * A collision between large, heavy user interface elements
</s> add * A collision between large, heavy user interface elements. </s> remove * A collision between small, light user interface elements
</s> add * A collision between small, light user interface elements.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/build/Haptics.types.js
|
keep add keep keep keep keep
|
<mask> import { NotificationFeedbackType, ImpactFeedbackStyle } from './Haptics.types';
<mask>
<mask> /**
<mask> * The kind of notification response used in the feedback.
<mask> * @param type A notification feedback type that on iOS is directly mapped to [UINotificationFeedbackType](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype),
<mask> * while on Android these are simulated using [Vibrator](vibrator).
</s> [haptics] add doc comments in source (#13288) </s> add // @needsAudit </s> remove * Triggers notification feedback.
</s> add * The kind of notification response used in the feedback.
* @param type A notification feedback type that on iOS is directly mapped to [UINotificationFeedbackType](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype),
* while on Android these are simulated using [Vibrator](vibrator).
* You can use one of `Haptics.NotificationFeedbackType.{Success, Warning, Error}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers notification feedback.
</s> add * The kind of notification response used in the feedback.
* @param type A notification feedback type that on iOS is directly mapped to [UINotificationFeedbackType](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype),
* while on Android these are simulated using [Vibrator](vibrator).
* You can use one of `Haptics.NotificationFeedbackType.{Success, Warning, Error}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers notification feedback.
</s> add * The kind of notification response used in the feedback.
* @param type A notification feedback type that on iOS is directly mapped to [UINotificationFeedbackType](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype),
* while on Android these are simulated using [Vibrator](vibrator).
* You can use one of `Haptics.NotificationFeedbackType.{Success, Warning, Error}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers impact feedback.
</s> add * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
* while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> add // @needsAudit
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/src/Haptics.ts
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> import ExpoHaptics from './ExpoHaptics';
<mask> import { NotificationFeedbackType, ImpactFeedbackStyle } from './Haptics.types';
<mask>
<mask> /**
<mask> * Triggers notification feedback.
<mask> */
<mask> export async function notificationAsync(
<mask> type: NotificationFeedbackType = NotificationFeedbackType.Success
<mask> ): Promise<void> {
<mask> if (!ExpoHaptics.notificationAsync) {
</s> [haptics] add doc comments in source (#13288) </s> remove * Triggers notification feedback.
</s> add * The kind of notification response used in the feedback.
* @param type A notification feedback type that on iOS is directly mapped to [UINotificationFeedbackType](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype),
* while on Android these are simulated using [Vibrator](vibrator).
* You can use one of `Haptics.NotificationFeedbackType.{Success, Warning, Error}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> add // @needsAudit </s> add // @needsAudit </s> remove * Triggers notification feedback.
</s> add * The kind of notification response used in the feedback.
* @param type A notification feedback type that on iOS is directly mapped to [UINotificationFeedbackType](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype),
* while on Android these are simulated using [Vibrator](vibrator).
* You can use one of `Haptics.NotificationFeedbackType.{Success, Warning, Error}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers impact feedback.
</s> add * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
* while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/src/Haptics.ts
|
keep keep keep add keep keep keep keep
|
<mask> }
<mask> await ExpoHaptics.notificationAsync(type);
<mask> }
<mask>
<mask> /**
<mask> * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
<mask> * while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
<mask> * @return A `Promise` which fulfils once native size haptics functionality is triggered.
</s> [haptics] add doc comments in source (#13288) </s> add // @needsAudit </s> remove * Triggers impact feedback.
</s> add * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
* while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers impact feedback.
</s> add * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
* while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers impact feedback.
</s> add * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
* while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers notification feedback.
</s> add * The kind of notification response used in the feedback.
* @param type A notification feedback type that on iOS is directly mapped to [UINotificationFeedbackType](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype),
* while on Android these are simulated using [Vibrator](vibrator).
* You can use one of `Haptics.NotificationFeedbackType.{Success, Warning, Error}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers notification feedback.
</s> add * The kind of notification response used in the feedback.
* @param type A notification feedback type that on iOS is directly mapped to [UINotificationFeedbackType](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype),
* while on Android these are simulated using [Vibrator](vibrator).
* You can use one of `Haptics.NotificationFeedbackType.{Success, Warning, Error}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/src/Haptics.ts
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> await ExpoHaptics.notificationAsync(type);
<mask> }
<mask>
<mask> /**
<mask> * Triggers impact feedback.
<mask> */
<mask> export async function impactAsync(
<mask> style: ImpactFeedbackStyle = ImpactFeedbackStyle.Medium
<mask> ): Promise<void> {
<mask> if (!ExpoHaptics.impactAsync) {
</s> [haptics] add doc comments in source (#13288) </s> remove * Triggers impact feedback.
</s> add * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
* while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers notification feedback.
</s> add * The kind of notification response used in the feedback.
* @param type A notification feedback type that on iOS is directly mapped to [UINotificationFeedbackType](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype),
* while on Android these are simulated using [Vibrator](vibrator).
* You can use one of `Haptics.NotificationFeedbackType.{Success, Warning, Error}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers notification feedback.
</s> add * The kind of notification response used in the feedback.
* @param type A notification feedback type that on iOS is directly mapped to [UINotificationFeedbackType](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype),
* while on Android these are simulated using [Vibrator](vibrator).
* You can use one of `Haptics.NotificationFeedbackType.{Success, Warning, Error}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/src/Haptics.ts
|
keep add keep keep keep keep keep
|
<mask> }
<mask>
<mask> /**
<mask> * Used to let a user know when a selection change has been registered.
<mask> * @return A `Promise` which fulfils once native size haptics functionality is triggered.
<mask> */
<mask> export async function selectionAsync(): Promise<void> {
</s> [haptics] add doc comments in source (#13288) </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> add // @needsAudit </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers impact feedback.
</s> add * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
* while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> add // @needsAudit
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/src/Haptics.ts
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> await ExpoHaptics.impactAsync(style);
<mask> }
<mask>
<mask> /**
<mask> * Triggers selection feedback.
<mask> */
<mask> export async function selectionAsync(): Promise<void> {
<mask> if (!ExpoHaptics.selectionAsync) {
<mask> throw new UnavailabilityError('Haptic', 'selectionAsync');
<mask> }
</s> [haptics] add doc comments in source (#13288) </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> remove * Triggers impact feedback.
</s> add * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
* while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> add // @needsAudit </s> remove * Triggers selection feedback.
</s> add * Used to let a user know when a selection change has been registered.
* @return A `Promise` which fulfils once native size haptics functionality is triggered. </s> add // @needsAudit </s> remove * Triggers impact feedback.
</s> add * @param style A collision indicator that on iOS is directly mapped to [`UIImpactFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle),
* while on Android these are simulated using [Vibrator](vibrator). You can use one of `Haptics.ImpactFeedbackStyle.{Light, Medium, Heavy}`.
* @return A `Promise` which fulfils once native size haptics functionality is triggered.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/src/Haptics.ts
|
keep replace keep replace keep keep
|
<mask> /**
<mask> * Notification Feedback Type
<mask> * The type of notification feedback generated by a UINotificationFeedbackGenerator object.
<mask> * https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype
<mask> */
<mask> export enum NotificationFeedbackType {
</s> [haptics] add doc comments in source (#13288) </s> remove * Notification Feedback Type
</s> add </s> remove * https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype
</s> add * [`UINotificationFeedbackType`](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) </s> remove * Notification Feedback Type
</s> add </s> remove * https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype
</s> add * [`UINotificationFeedbackType`](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle)
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/src/Haptics.types.ts
|
keep keep keep keep replace keep keep keep replace keep keep keep
|
<mask> * https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype
<mask> */
<mask> export enum NotificationFeedbackType {
<mask> /**
<mask> * A notification feedback type indicating that a task has completed successfully
<mask> */
<mask> Success = 'success',
<mask> /**
<mask> * A notification feedback type indicating that a task has produced a warning
<mask> */
<mask> Warning = 'warning',
<mask> /**
</s> [haptics] add doc comments in source (#13288) </s> remove * A notification feedback type indicating that a task has completed successfully
</s> add * A notification feedback type indicating that a task has completed successfully. </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning. </s> remove * A notification feedback type indicating that a task has failed
</s> add * A notification feedback type indicating that a task has failed. </s> remove * A notification feedback type indicating that a task has completed successfully
</s> add * A notification feedback type indicating that a task has completed successfully. </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/src/Haptics.types.ts
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> * A notification feedback type indicating that a task has produced a warning
<mask> */
<mask> Warning = 'warning',
<mask> /**
<mask> * A notification feedback type indicating that a task has failed
<mask> */
<mask> Error = 'error',
<mask> }
<mask>
<mask> /**
</s> [haptics] add doc comments in source (#13288) </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning. </s> remove * A notification feedback type indicating that a task has failed
</s> add * A notification feedback type indicating that a task has failed. </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning. </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning. </s> remove * A notification feedback type indicating that a task has failed
</s> add * A notification feedback type indicating that a task has failed. </s> remove * A notification feedback type indicating that a task has completed successfully
</s> add * A notification feedback type indicating that a task has completed successfully.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/src/Haptics.types.ts
|
keep keep add keep keep keep keep keep
|
<mask> Error = 'error',
<mask> }
<mask>
<mask> /**
<mask> * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
<mask> * [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle)
<mask> */
<mask> export enum ImpactFeedbackStyle {
</s> [haptics] add doc comments in source (#13288) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> add // @needsAudit </s> remove * A notification feedback type indicating that a task has failed
</s> add * A notification feedback type indicating that a task has failed. </s> add // @needsAudit
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/src/Haptics.types.ts
|
keep keep replace replace replace keep keep keep replace keep keep
|
<mask>
<mask> /**
<mask> * Impact Feedback Style
<mask> * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
<mask> * https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
<mask> */
<mask> export enum ImpactFeedbackStyle {
<mask> /**
<mask> * A collision between small, light user interface elements
<mask> */
<mask> Light = 'light',
</s> [haptics] add doc comments in source (#13288) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> remove * Impact Feedback Style
* The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object.
* https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle
</s> add * The mass of the objects in the collision simulated by a UIImpactFeedbackGenerator object
* [`UINotificationFeedbackStyle`](https://developer.apple.com/documentation/uikit/uiimpactfeedbackstyle) </s> add // @needsAudit </s> remove * A collision between small, light user interface elements
</s> add * A collision between small, light user interface elements. </s> add // @needsAudit
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/src/Haptics.types.ts
|
keep replace keep keep keep replace keep
|
<mask> /**
<mask> * A collision between moderately sized user interface elements
<mask> */
<mask> Medium = 'medium',
<mask> /**
<mask> * A collision between large, heavy user interface elements
<mask> */
</s> [haptics] add doc comments in source (#13288) </s> remove * A collision between large, heavy user interface elements
</s> add * A collision between large, heavy user interface elements. </s> remove * A collision between moderately sized user interface elements
</s> add * A collision between moderately sized user interface elements. </s> remove * A collision between moderately sized user interface elements
</s> add * A collision between moderately sized user interface elements. </s> remove * A collision between large, heavy user interface elements
</s> add * A collision between large, heavy user interface elements. </s> remove * A collision between small, light user interface elements
</s> add * A collision between small, light user interface elements.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
packages/expo-haptics/src/Haptics.types.ts
|
keep keep keep add keep keep keep keep keep
|
<mask> 'expo-battery': ['Battery.ts'],
<mask> 'expo-blur': ['index.ts'],
<mask> 'expo-cellular': ['Cellular.ts'],
<mask> 'expo-clipboard': ['Clipboard.ts'],
<mask> 'expo-keep-awake': ['index.ts'],
<mask> 'expo-linear-gradient': ['LinearGradient.tsx'],
<mask> 'expo-localization': ['Localization.ts'],
<mask> 'expo-mail-composer': ['MailComposer.ts'],
<mask> 'expo-network': ['Network.ts'],
</s> [haptics] add doc comments in source (#13288) </s> remove * A notification feedback type indicating that a task has produced a warning
</s> add * A notification feedback type indicating that a task has produced a warning. </s> remove * https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype
</s> add * [`UINotificationFeedbackType`](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) </s> remove * Notification Feedback Type
</s> add </s> remove * A collision between large, heavy user interface elements
</s> add * A collision between large, heavy user interface elements. </s> remove * A collision between moderately sized user interface elements
</s> add * A collision between moderately sized user interface elements. </s> remove * A collision between small, light user interface elements
</s> add * A collision between small, light user interface elements.
|
https://github.com/expo/expo/commit/5df607a0a146e1131e49c6721a9955d7887db2ce
|
tools/src/commands/GenerateDocsAPIData.ts
|
keep keep keep replace keep keep keep keep keep
|
<mask> {
<mask> "name": "expo-template-bare-minimum",
<mask> "description": "This bare project template includes a minimal setup for using unimodules with React Native.",
<mask> "version": "47.0.9",
<mask> "main": "index.js",
<mask> "scripts": {
<mask> "start": "expo start --dev-client",
<mask> "android": "expo run:android",
<mask> "ios": "expo run:ios",
</s> [templates] Update for SDK 48 </s> remove "version": "47.0.9",
</s> add "version": "48.0.1", </s> remove "version": "47.0.9",
</s> add "version": "48.0.0", </s> remove "version": "47.0.9",
</s> add "version": "48.0.0", </s> remove "expo": "~47.0.0",
"expo-splash-screen": "~0.17.3",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-splash-screen": "~0.18.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3",
|
https://github.com/expo/expo/commit/5f3afa05e9ac9aa9a55342d854014524eebd1b73
|
templates/expo-template-bare-minimum/package.json
|
keep keep keep keep replace replace replace keep keep keep keep keep
|
<mask> "ios": "expo run:ios",
<mask> "web": "expo start --web"
<mask> },
<mask> "dependencies": {
<mask> "expo": "~47.0.0",
<mask> "expo-splash-screen": "~0.17.3",
<mask> "expo-status-bar": "~1.4.2",
<mask> "react": "18.2.0",
<mask> "react-native": "0.71.2"
<mask> },
<mask> "devDependencies": {
<mask> "@babel/core": "^7.20.0"
</s> [templates] Update for SDK 48 </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-asset": "~8.6.2",
"expo-constants": "~14.0.2",
"expo-font": "~11.0.1",
"expo-linking": "~3.2.3",
"expo-splash-screen": "~0.17.3",
"expo-status-bar": "~1.4.2",
"expo-system-ui": "~2.0.1",
"expo-web-browser": "~12.0.0",
</s> add "expo": "~48.0.0-beta.0",
"expo-asset": "~8.8.0",
"expo-constants": "~14.2.0",
"expo-font": "~11.1.0",
"expo-linking": "~4.0.0",
"expo-splash-screen": "~0.18.0",
"expo-status-bar": "~1.4.3",
"expo-system-ui": "~2.2.0",
"expo-web-browser": "~12.1.0", </s> remove "version": "47.0.9",
</s> add "version": "48.0.0", </s> remove "react-native-safe-area-context": "4.4.1",
"react-native-screens": "~3.18.0",
</s> add "react-native-safe-area-context": "4.5.0",
"react-native-screens": "~3.19.0", </s> remove "version": "47.0.9",
</s> add "version": "48.0.1",
|
https://github.com/expo/expo/commit/5f3afa05e9ac9aa9a55342d854014524eebd1b73
|
templates/expo-template-bare-minimum/package.json
|
keep keep keep replace keep keep keep keep keep
|
<mask> {
<mask> "name": "expo-template-blank-typescript",
<mask> "description": "The Blank project template includes the minimum dependencies to run and an empty root component.",
<mask> "version": "47.0.9",
<mask> "main": "node_modules/expo/AppEntry.js",
<mask> "scripts": {
<mask> "start": "expo start",
<mask> "android": "expo start --android",
<mask> "ios": "expo start --ios",
</s> [templates] Update for SDK 48 </s> remove "version": "47.0.9",
</s> add "version": "48.0.0", </s> remove "version": "47.0.9",
</s> add "version": "48.0.1", </s> remove "version": "47.0.9",
</s> add "version": "48.0.0", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-splash-screen": "~0.17.3",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-splash-screen": "~0.18.0",
"expo-status-bar": "~1.4.3",
|
https://github.com/expo/expo/commit/5f3afa05e9ac9aa9a55342d854014524eebd1b73
|
templates/expo-template-blank-typescript/package.json
|
keep keep keep keep replace replace keep keep keep keep keep
|
<mask> "ios": "expo start --ios",
<mask> "web": "expo start --web"
<mask> },
<mask> "dependencies": {
<mask> "expo": "~47.0.0",
<mask> "expo-status-bar": "~1.4.2",
<mask> "react": "18.2.0",
<mask> "react-dom": "18.2.0",
<mask> "react-native": "0.71.2",
<mask> "react-native-web": "~0.18.10"
<mask> },
</s> [templates] Update for SDK 48 </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-splash-screen": "~0.17.3",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-splash-screen": "~0.18.0",
"expo-status-bar": "~1.4.3", </s> remove "react-native-safe-area-context": "4.4.1",
"react-native-screens": "~3.18.0",
</s> add "react-native-safe-area-context": "4.5.0",
"react-native-screens": "~3.19.0", </s> remove "expo": "~47.0.0",
"expo-asset": "~8.6.2",
"expo-constants": "~14.0.2",
"expo-font": "~11.0.1",
"expo-linking": "~3.2.3",
"expo-splash-screen": "~0.17.3",
"expo-status-bar": "~1.4.2",
"expo-system-ui": "~2.0.1",
"expo-web-browser": "~12.0.0",
</s> add "expo": "~48.0.0-beta.0",
"expo-asset": "~8.8.0",
"expo-constants": "~14.2.0",
"expo-font": "~11.1.0",
"expo-linking": "~4.0.0",
"expo-splash-screen": "~0.18.0",
"expo-status-bar": "~1.4.3",
"expo-system-ui": "~2.2.0",
"expo-web-browser": "~12.1.0", </s> remove "version": "47.0.9",
</s> add "version": "48.0.1", </s> remove "version": "47.0.9",
</s> add "version": "48.0.0",
|
https://github.com/expo/expo/commit/5f3afa05e9ac9aa9a55342d854014524eebd1b73
|
templates/expo-template-blank-typescript/package.json
|
keep keep keep replace keep keep keep keep keep
|
<mask> {
<mask> "name": "expo-template-blank",
<mask> "description": "The Blank project template includes the minimum dependencies to run and an empty root component.",
<mask> "version": "47.0.9",
<mask> "main": "node_modules/expo/AppEntry.js",
<mask> "scripts": {
<mask> "start": "expo start",
<mask> "android": "expo start --android",
<mask> "ios": "expo start --ios",
</s> [templates] Update for SDK 48 </s> remove "version": "47.0.9",
</s> add "version": "48.0.0", </s> remove "version": "47.0.9",
</s> add "version": "48.0.1", </s> remove "version": "47.0.9",
</s> add "version": "48.0.0", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-splash-screen": "~0.17.3",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-splash-screen": "~0.18.0",
"expo-status-bar": "~1.4.3",
|
https://github.com/expo/expo/commit/5f3afa05e9ac9aa9a55342d854014524eebd1b73
|
templates/expo-template-blank/package.json
|
keep keep keep keep replace replace keep keep keep keep keep
|
<mask> "ios": "expo start --ios",
<mask> "web": "expo start --web"
<mask> },
<mask> "dependencies": {
<mask> "expo": "~47.0.0",
<mask> "expo-status-bar": "~1.4.2",
<mask> "react": "18.2.0",
<mask> "react-native": "0.71.2"
<mask> },
<mask> "devDependencies": {
<mask> "@babel/core": "^7.20.0"
</s> [templates] Update for SDK 48 </s> remove "expo": "~47.0.0",
"expo-splash-screen": "~0.17.3",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-splash-screen": "~0.18.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "version": "47.0.9",
</s> add "version": "48.0.1", </s> remove "version": "47.0.9",
</s> add "version": "48.0.0", </s> remove "version": "47.0.9",
</s> add "version": "48.0.0", </s> remove "react-native-safe-area-context": "4.4.1",
"react-native-screens": "~3.18.0",
</s> add "react-native-safe-area-context": "4.5.0",
"react-native-screens": "~3.19.0",
|
https://github.com/expo/expo/commit/5f3afa05e9ac9aa9a55342d854014524eebd1b73
|
templates/expo-template-blank/package.json
|
keep keep keep replace keep keep keep keep keep
|
<mask> {
<mask> "name": "expo-template-tabs",
<mask> "description": "The Tab Navigation project template includes several example screens.",
<mask> "version": "47.0.9",
<mask> "main": "node_modules/expo/AppEntry.js",
<mask> "scripts": {
<mask> "start": "expo start",
<mask> "android": "expo start --android",
<mask> "ios": "expo start --ios",
</s> [templates] Update for SDK 48 </s> remove "version": "47.0.9",
</s> add "version": "48.0.0", </s> remove "version": "47.0.9",
</s> add "version": "48.0.0", </s> remove "version": "47.0.9",
</s> add "version": "48.0.0", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-splash-screen": "~0.17.3",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-splash-screen": "~0.18.0",
"expo-status-bar": "~1.4.3",
|
https://github.com/expo/expo/commit/5f3afa05e9ac9aa9a55342d854014524eebd1b73
|
templates/expo-template-tabs/package.json
|
keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep replace replace
|
<mask> "@react-navigation/bottom-tabs": "^6.0.5",
<mask> "@react-navigation/native": "^6.0.2",
<mask> "@react-navigation/native-stack": "^6.1.0",
<mask> "expo": "~47.0.0",
<mask> "expo-asset": "~8.6.2",
<mask> "expo-constants": "~14.0.2",
<mask> "expo-font": "~11.0.1",
<mask> "expo-linking": "~3.2.3",
<mask> "expo-splash-screen": "~0.17.3",
<mask> "expo-status-bar": "~1.4.2",
<mask> "expo-system-ui": "~2.0.1",
<mask> "expo-web-browser": "~12.0.0",
<mask> "react": "18.2.0",
<mask> "react-dom": "18.2.0",
<mask> "react-native": "0.71.2",
<mask> "react-native-safe-area-context": "4.4.1",
<mask> "react-native-screens": "~3.18.0",
</s> [templates] Update for SDK 48 </s> remove "expo": "~47.0.0",
"expo-splash-screen": "~0.17.3",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-splash-screen": "~0.18.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "jest-expo": "~47.0.0",
</s> add "jest-expo": "~48.0.0", </s> remove "version": "47.0.9",
</s> add "version": "48.0.1",
|
https://github.com/expo/expo/commit/5f3afa05e9ac9aa9a55342d854014524eebd1b73
|
templates/expo-template-tabs/package.json
|
keep keep keep keep replace keep keep keep keep
|
<mask> "devDependencies": {
<mask> "@babel/core": "^7.20.0",
<mask> "@types/react": "~18.0.14",
<mask> "jest": "^29.2.1",
<mask> "jest-expo": "~47.0.0",
<mask> "react-test-renderer": "18.2.0",
<mask> "typescript": "^4.9.4"
<mask> }
<mask> }
</s> [templates] Update for SDK 48 </s> remove "react-native-safe-area-context": "4.4.1",
"react-native-screens": "~3.18.0",
</s> add "react-native-safe-area-context": "4.5.0",
"react-native-screens": "~3.19.0", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-splash-screen": "~0.17.3",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-splash-screen": "~0.18.0",
"expo-status-bar": "~1.4.3", </s> remove "expo": "~47.0.0",
"expo-status-bar": "~1.4.2",
</s> add "expo": "~48.0.0-beta.0",
"expo-status-bar": "~1.4.3", </s> remove "version": "47.0.9",
</s> add "version": "48.0.1", </s> remove "version": "47.0.9",
</s> add "version": "48.0.0",
|
https://github.com/expo/expo/commit/5f3afa05e9ac9aa9a55342d854014524eebd1b73
|
templates/expo-template-tabs/package.json
|
replace replace keep replace keep keep keep keep keep
|
<mask> import './LegacyReact';
<mask>
<mask> import React from 'react';
<mask> import { NativeModules } from 'react-native';
<mask> import { ApolloProvider } from 'react-apollo';
<mask> import { Provider as ReduxProvider } from 'react-redux';
<mask>
<mask> import Store from './redux/Store';
<mask> import ApolloClient from './api/ApolloClient';
</s> [home] Add back MenuView import (clear side effect), remove unused mixin deps
- Needed to import MenuView so that HomeMenu is registered. Tested that opening the dev menu now works again.
- Removed mixin dependencies that were unused
- Published dev home </s> add import { NativeModules } from 'react-native'; </s> remove import Store from './redux/Store';
import ApolloClient from './api/ApolloClient';
</s> add </s> add import ApolloClient from './api/ApolloClient';
import Store from './redux/Store'; </s> add import { Assets as StackAssets } from 'react-navigation-stack'; </s> remove import { Assets as StackAssets } from 'react-navigation-stack';
</s> add import './menu/MenuView';
|
https://github.com/expo/expo/commit/5f9516f243b883d28e0f295ef054c873d86e5b14
|
home/App.js
|
keep add keep keep keep keep
|
<mask> import React from 'react';
<mask> import { ApolloProvider } from 'react-apollo';
<mask> import { Provider as ReduxProvider } from 'react-redux';
<mask>
<mask> import HomeApp from './HomeApp';
<mask> import ApolloClient from './api/ApolloClient';
</s> [home] Add back MenuView import (clear side effect), remove unused mixin deps
- Needed to import MenuView so that HomeMenu is registered. Tested that opening the dev menu now works again.
- Removed mixin dependencies that were unused
- Published dev home </s> remove import Store from './redux/Store';
import ApolloClient from './api/ApolloClient';
</s> add </s> add import ApolloClient from './api/ApolloClient';
import Store from './redux/Store'; </s> remove import { NativeModules } from 'react-native';
</s> add </s> remove import './LegacyReact';
</s> add </s> add import { Assets as StackAssets } from 'react-navigation-stack'; </s> remove import { Assets as StackAssets } from 'react-navigation-stack';
</s> add import './menu/MenuView';
|
https://github.com/expo/expo/commit/5f9516f243b883d28e0f295ef054c873d86e5b14
|
home/App.js
|
keep keep keep keep replace replace keep keep keep keep keep
|
<mask> import { NativeModules } from 'react-native';
<mask> import { ApolloProvider } from 'react-apollo';
<mask> import { Provider as ReduxProvider } from 'react-redux';
<mask>
<mask> import Store from './redux/Store';
<mask> import ApolloClient from './api/ApolloClient';
<mask> import HomeApp from './HomeApp';
<mask>
<mask> let { JSCExecutor } = NativeModules;
<mask>
<mask> export default class App extends React.Component {
</s> [home] Add back MenuView import (clear side effect), remove unused mixin deps
- Needed to import MenuView so that HomeMenu is registered. Tested that opening the dev menu now works again.
- Removed mixin dependencies that were unused
- Published dev home </s> add import ApolloClient from './api/ApolloClient';
import Store from './redux/Store'; </s> add import { NativeModules } from 'react-native'; </s> remove import { NativeModules } from 'react-native';
</s> add </s> remove import './LegacyReact';
</s> add </s> add import { Assets as StackAssets } from 'react-navigation-stack'; </s> remove import { Assets as StackAssets } from 'react-navigation-stack';
</s> add import './menu/MenuView';
|
https://github.com/expo/expo/commit/5f9516f243b883d28e0f295ef054c873d86e5b14
|
home/App.js
|
keep keep add keep keep keep keep keep
|
<mask> import { Provider as ReduxProvider } from 'react-redux';
<mask>
<mask> import HomeApp from './HomeApp';
<mask>
<mask> let { JSCExecutor } = NativeModules;
<mask>
<mask> export default class App extends React.Component {
<mask> render() {
</s> [home] Add back MenuView import (clear side effect), remove unused mixin deps
- Needed to import MenuView so that HomeMenu is registered. Tested that opening the dev menu now works again.
- Removed mixin dependencies that were unused
- Published dev home </s> remove import Store from './redux/Store';
import ApolloClient from './api/ApolloClient';
</s> add </s> add import { NativeModules } from 'react-native'; </s> remove import './LegacyReact';
</s> add </s> remove import { NativeModules } from 'react-native';
</s> add </s> add import { Assets as StackAssets } from 'react-navigation-stack'; </s> remove import { Assets as StackAssets } from 'react-navigation-stack';
</s> add import './menu/MenuView';
|
https://github.com/expo/expo/commit/5f9516f243b883d28e0f295ef054c873d86e5b14
|
home/App.js
|
keep keep add keep keep keep keep keep
|
<mask> import { AppLoading, Asset, Constants, Font } from 'expo';
<mask> import React from 'react';
<mask> import { Linking, Platform, StatusBar, StyleSheet, View } from 'react-native';
<mask> import url from 'url';
<mask> import { ActionSheetProvider } from '@expo/react-native-action-sheet';
<mask> import { Ionicons, MaterialIcons } from '@expo/vector-icons';
<mask>
<mask> import './menu/MenuView';
</s> [home] Add back MenuView import (clear side effect), remove unused mixin deps
- Needed to import MenuView so that HomeMenu is registered. Tested that opening the dev menu now works again.
- Removed mixin dependencies that were unused
- Published dev home </s> remove import { Assets as StackAssets } from 'react-navigation-stack';
</s> add import './menu/MenuView'; </s> remove import './LegacyReact';
</s> add </s> add import { NativeModules } from 'react-native'; </s> remove import { NativeModules } from 'react-native';
</s> add </s> remove import Store from './redux/Store';
import ApolloClient from './api/ApolloClient';
</s> add </s> add import ApolloClient from './api/ApolloClient';
import Store from './redux/Store';
|
https://github.com/expo/expo/commit/5f9516f243b883d28e0f295ef054c873d86e5b14
|
home/HomeApp.js
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> import { Linking, Platform, StatusBar, StyleSheet, View } from 'react-native';
<mask> import url from 'url';
<mask> import { ActionSheetProvider } from '@expo/react-native-action-sheet';
<mask> import { Ionicons, MaterialIcons } from '@expo/vector-icons';
<mask> import { Assets as StackAssets } from 'react-navigation-stack';
<mask>
<mask> import Navigation from './navigation/Navigation';
<mask> import HistoryActions from './redux/HistoryActions';
<mask> import SessionActions from './redux/SessionActions';
<mask> import SettingsActions from './redux/SettingsActions';
</s> [home] Add back MenuView import (clear side effect), remove unused mixin deps
- Needed to import MenuView so that HomeMenu is registered. Tested that opening the dev menu now works again.
- Removed mixin dependencies that were unused
- Published dev home </s> add import { Assets as StackAssets } from 'react-navigation-stack'; </s> remove import LocalStorage from './storage/LocalStorage';
</s> add </s> add import { NativeModules } from 'react-native'; </s> remove import { NativeModules } from 'react-native';
</s> add </s> remove import './LegacyReact';
</s> add </s> remove import Store from './redux/Store';
import ApolloClient from './api/ApolloClient';
</s> add
|
https://github.com/expo/expo/commit/5f9516f243b883d28e0f295ef054c873d86e5b14
|
home/HomeApp.js
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> import Navigation from './navigation/Navigation';
<mask> import HistoryActions from './redux/HistoryActions';
<mask> import SessionActions from './redux/SessionActions';
<mask> import SettingsActions from './redux/SettingsActions';
<mask> import LocalStorage from './storage/LocalStorage';
<mask> import Store from './redux/Store';
<mask>
<mask> // Download and cache stack assets, don't block loading on this though
<mask> Asset.loadAsync(StackAssets);
<mask>
</s> [home] Add back MenuView import (clear side effect), remove unused mixin deps
- Needed to import MenuView so that HomeMenu is registered. Tested that opening the dev menu now works again.
- Removed mixin dependencies that were unused
- Published dev home </s> add import LocalStorage from './storage/LocalStorage'; </s> remove import { Assets as StackAssets } from 'react-navigation-stack';
</s> add import './menu/MenuView'; </s> remove import { NativeModules } from 'react-native';
</s> add </s> remove import Store from './redux/Store';
import ApolloClient from './api/ApolloClient';
</s> add </s> add import { NativeModules } from 'react-native'; </s> add import ApolloClient from './api/ApolloClient';
import Store from './redux/Store';
|
https://github.com/expo/expo/commit/5f9516f243b883d28e0f295ef054c873d86e5b14
|
home/HomeApp.js
|
keep keep add keep keep keep keep
|
<mask> import SessionActions from './redux/SessionActions';
<mask> import SettingsActions from './redux/SettingsActions';
<mask> import Store from './redux/Store';
<mask>
<mask> // Download and cache stack assets, don't block loading on this though
<mask> Asset.loadAsync(StackAssets);
<mask>
</s> [home] Add back MenuView import (clear side effect), remove unused mixin deps
- Needed to import MenuView so that HomeMenu is registered. Tested that opening the dev menu now works again.
- Removed mixin dependencies that were unused
- Published dev home </s> remove import LocalStorage from './storage/LocalStorage';
</s> add </s> remove import { Assets as StackAssets } from 'react-navigation-stack';
</s> add import './menu/MenuView'; </s> remove import { NativeModules } from 'react-native';
</s> add </s> remove import Store from './redux/Store';
import ApolloClient from './api/ApolloClient';
</s> add </s> add import ApolloClient from './api/ApolloClient';
import Store from './redux/Store'; </s> add import { NativeModules } from 'react-native';
|
https://github.com/expo/expo/commit/5f9516f243b883d28e0f295ef054c873d86e5b14
|
home/HomeApp.js
|
keep keep add keep keep keep keep keep
|
<mask> B5844C3B1D482D710015C683 /* EXRemoteNotificationRequester.m in Sources */ = {isa = PBXBuildFile; fileRef = B5844C3A1D482D710015C683 /* EXRemoteNotificationRequester.m */; };
<mask> B5844C3F1D482EA40015C683 /* EXLocationRequester.m in Sources */ = {isa = PBXBuildFile; fileRef = B5844C3E1D482EA40015C683 /* EXLocationRequester.m */; };
<mask> B587F1E01D53DEB70071715C /* EXFileDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = B587F1DF1D53DEB70071715C /* EXFileDownloader.m */; };
<mask> B592FFEF1E9D489100437664 /* EXStatusBarManager.m in Sources */ = {isa = PBXBuildFile; fileRef = B592FFEE1E9D489100437664 /* EXStatusBarManager.m */; };
<mask> B5A358621C7E6C4300D1BE67 /* EXAnalytics.m in Sources */ = {isa = PBXBuildFile; fileRef = B5A358611C7E6C4300D1BE67 /* EXAnalytics.m */; };
<mask> B5A8752E1E70E57F006DDECA /* EXAdSettingsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = B5A875211E70E57F006DDECA /* EXAdSettingsManager.m */; };
<mask> B5A8752F1E70E57F006DDECA /* EXBannerView.m in Sources */ = {isa = PBXBuildFile; fileRef = B5A875231E70E57F006DDECA /* EXBannerView.m */; };
<mask> B5A875301E70E57F006DDECA /* EXBannerViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = B5A875251E70E57F006DDECA /* EXBannerViewManager.m */; };
</s> Scope EXGoogle, add kernel google auth service
fbshipit-source-id: 89ec46d479 </s> add B58FFAAA1F1016B700A51363 /* EXGoogleAuthManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EXGoogleAuthManager.h; sourceTree = "<group>"; };
B58FFAAB1F1016B700A51363 /* EXGoogleAuthManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EXGoogleAuthManager.m; sourceTree = "<group>"; }; </s> add B58FFAAC1F1016B700A51363 /* EXGoogleAuthManager.m in Sources */, </s> remove @interface EXGoogle : NSObject <RCTBridgeModule>
</s> add @protocol EXGoogleScopedModuleDelegate
- (void)googleModule:(id)scopedGoogleModule didBeginOAuthFlow:(id)authorizationFlowSession;
@end
@interface EXGoogle : EXScopedBridgeModule </s> remove #import <React/RCTBridgeModule.h>
</s> add #import "EXScopedBridgeModule.h" </s> add @property (nonatomic, readonly) EXGoogleAuthManager *googleAuthManager; </s> add @class EXGoogleAuthManager;
|
https://github.com/expo/expo/commit/5ffdbfe69a33fa626e6a95a59c583074c153b723
|
ios/Exponent.xcodeproj/project.pbxproj
|
keep keep keep add keep keep keep keep
|
<mask> B5844C3D1D482EA40015C683 /* EXLocationRequester.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EXLocationRequester.h; sourceTree = "<group>"; };
<mask> B5844C3E1D482EA40015C683 /* EXLocationRequester.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EXLocationRequester.m; sourceTree = "<group>"; };
<mask> B587F1DE1D53DEB70071715C /* EXFileDownloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EXFileDownloader.h; sourceTree = "<group>"; };
<mask> B587F1DF1D53DEB70071715C /* EXFileDownloader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EXFileDownloader.m; sourceTree = "<group>"; };
<mask> B592FFED1E9D489100437664 /* EXStatusBarManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EXStatusBarManager.h; sourceTree = "<group>"; };
<mask> B592FFEE1E9D489100437664 /* EXStatusBarManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EXStatusBarManager.m; sourceTree = "<group>"; };
<mask> B5A358601C7E6C4300D1BE67 /* EXAnalytics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EXAnalytics.h; sourceTree = "<group>"; };
<mask> B5A358611C7E6C4300D1BE67 /* EXAnalytics.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EXAnalytics.m; sourceTree = "<group>"; };
</s> Scope EXGoogle, add kernel google auth service
fbshipit-source-id: 89ec46d479 </s> add B58FFAAC1F1016B700A51363 /* EXGoogleAuthManager.m in Sources */ = {isa = PBXBuildFile; fileRef = B58FFAAB1F1016B700A51363 /* EXGoogleAuthManager.m */; }; </s> remove @interface EXGoogle : NSObject <RCTBridgeModule>
</s> add @protocol EXGoogleScopedModuleDelegate
- (void)googleModule:(id)scopedGoogleModule didBeginOAuthFlow:(id)authorizationFlowSession;
@end
@interface EXGoogle : EXScopedBridgeModule </s> remove #import <React/RCTBridgeModule.h>
</s> add #import "EXScopedBridgeModule.h" </s> add @property (nonatomic, readonly) EXGoogleAuthManager *googleAuthManager; </s> add @class EXGoogleAuthManager; </s> add B58FFAAC1F1016B700A51363 /* EXGoogleAuthManager.m in Sources */,
|
https://github.com/expo/expo/commit/5ffdbfe69a33fa626e6a95a59c583074c153b723
|
ios/Exponent.xcodeproj/project.pbxproj
|
keep keep keep add keep keep keep keep keep keep
|
<mask> 19382BA71EC2EACC001ED4A1 /* EXBranchManager.h */,
<mask> 19382BA81EC2EACC001ED4A1 /* EXBranchManager.m */,
<mask> B5AC39D41E95B17300540AA7 /* EXErrorRecoveryManager.h */,
<mask> B5AC39D51E95B17300540AA7 /* EXErrorRecoveryManager.m */,
<mask> B5C2740A1EC24AE1003355CE /* EXKernelLinkingManager.h */,
<mask> B5C2740B1EC24AE1003355CE /* EXKernelLinkingManager.m */,
<mask> B5AC39A31E95A90B00540AA7 /* EXLocalNotificationManager.h */,
<mask> B5AC39A41E95A90B00540AA7 /* EXLocalNotificationManager.m */,
<mask> B5AC39A51E95A90B00540AA7 /* EXRemoteNotificationManager.h */,
<mask> B5AC39A61E95A90B00540AA7 /* EXRemoteNotificationManager.m */,
</s> Scope EXGoogle, add kernel google auth service
fbshipit-source-id: 89ec46d479 </s> add B58FFAAC1F1016B700A51363 /* EXGoogleAuthManager.m in Sources */, </s> remove @interface EXGoogle : NSObject <RCTBridgeModule>
</s> add @protocol EXGoogleScopedModuleDelegate
- (void)googleModule:(id)scopedGoogleModule didBeginOAuthFlow:(id)authorizationFlowSession;
@end
@interface EXGoogle : EXScopedBridgeModule </s> remove #import <React/RCTBridgeModule.h>
</s> add #import "EXScopedBridgeModule.h" </s> add @property (nonatomic, readonly) EXGoogleAuthManager *googleAuthManager; </s> add @class EXGoogleAuthManager; </s> add B58FFAAA1F1016B700A51363 /* EXGoogleAuthManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EXGoogleAuthManager.h; sourceTree = "<group>"; };
B58FFAAB1F1016B700A51363 /* EXGoogleAuthManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EXGoogleAuthManager.m; sourceTree = "<group>"; };
|
https://github.com/expo/expo/commit/5ffdbfe69a33fa626e6a95a59c583074c153b723
|
ios/Exponent.xcodeproj/project.pbxproj
|
keep keep add keep keep keep keep
|
<mask> A1F37F721CEFD6B2001E9EFC /* EXContacts.m in Sources */,
<mask> B5AC39D31E95B01F00540AA7 /* EXDisabledRedBox.m in Sources */,
<mask> B51C2B021DC7BB3200120834 /* EXOAuthViewController.m in Sources */,
<mask> B56D073D1EC53333009E6A89 /* AIRGoogleMapManager.m in Sources */,
<mask> 7847A3911EC0F1550088BF69 /* RNSVGRadialGradient.m in Sources */,
<mask> B5AC39A91E95A90B00540AA7 /* EXKernelBridgeRegistry.m in Sources */,
<mask> 3CA241951F029BB700C3332E /* EXSpeech.m in Sources */,
</s> Scope EXGoogle, add kernel google auth service
fbshipit-source-id: 89ec46d479 </s> add B58FFAAC1F1016B700A51363 /* EXGoogleAuthManager.m in Sources */ = {isa = PBXBuildFile; fileRef = B58FFAAB1F1016B700A51363 /* EXGoogleAuthManager.m */; }; </s> add B58FFAAA1F1016B700A51363 /* EXGoogleAuthManager.h */,
B58FFAAB1F1016B700A51363 /* EXGoogleAuthManager.m */, </s> remove @interface EXGoogle : NSObject <RCTBridgeModule>
</s> add @protocol EXGoogleScopedModuleDelegate
- (void)googleModule:(id)scopedGoogleModule didBeginOAuthFlow:(id)authorizationFlowSession;
@end
@interface EXGoogle : EXScopedBridgeModule </s> remove #import <React/RCTBridgeModule.h>
</s> add #import "EXScopedBridgeModule.h" </s> add @property (nonatomic, readonly) EXGoogleAuthManager *googleAuthManager; </s> add @class EXGoogleAuthManager;
|
https://github.com/expo/expo/commit/5ffdbfe69a33fa626e6a95a59c583074c153b723
|
ios/Exponent.xcodeproj/project.pbxproj
|
keep keep keep add keep keep keep keep keep keep
|
<mask>
<mask> #import <Foundation/Foundation.h>
<mask>
<mask> @class EXErrorRecoveryManager;
<mask> @class EXKernelLinkingManager;
<mask> @class EXRemoteNotificationManager;
<mask> @class EXScreenOrientationManager;
<mask>
<mask> @interface EXKernelServiceRegistry : NSObject
<mask>
</s> Scope EXGoogle, add kernel google auth service
fbshipit-source-id: 89ec46d479 </s> remove #import <React/RCTBridgeModule.h>
</s> add #import "EXScopedBridgeModule.h" </s> remove @interface EXGoogle : NSObject <RCTBridgeModule>
</s> add @protocol EXGoogleScopedModuleDelegate
- (void)googleModule:(id)scopedGoogleModule didBeginOAuthFlow:(id)authorizationFlowSession;
@end
@interface EXGoogle : EXScopedBridgeModule </s> add @property (nonatomic, readonly) EXGoogleAuthManager *googleAuthManager; </s> add B58FFAAC1F1016B700A51363 /* EXGoogleAuthManager.m in Sources */, </s> add B58FFAAA1F1016B700A51363 /* EXGoogleAuthManager.h */,
B58FFAAB1F1016B700A51363 /* EXGoogleAuthManager.m */, </s> add B58FFAAA1F1016B700A51363 /* EXGoogleAuthManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EXGoogleAuthManager.h; sourceTree = "<group>"; };
B58FFAAB1F1016B700A51363 /* EXGoogleAuthManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EXGoogleAuthManager.m; sourceTree = "<group>"; };
|
https://github.com/expo/expo/commit/5ffdbfe69a33fa626e6a95a59c583074c153b723
|
ios/Exponent/Kernel/Services/EXKernelServiceRegistry.h
|
keep add keep keep keep keep
|
<mask>
<mask> @property (nonatomic, readonly) EXErrorRecoveryManager *errorRecoveryManager;
<mask> @property (nonatomic, readonly) EXRemoteNotificationManager *remoteNotificationManager;
<mask> @property (nonatomic, readonly) EXKernelLinkingManager *linkingManager;
<mask> @property (nonatomic, readonly) EXScreenOrientationManager *screenOrientationManager;
<mask>
</s> Scope EXGoogle, add kernel google auth service
fbshipit-source-id: 89ec46d479 </s> remove @interface EXGoogle : NSObject <RCTBridgeModule>
</s> add @protocol EXGoogleScopedModuleDelegate
- (void)googleModule:(id)scopedGoogleModule didBeginOAuthFlow:(id)authorizationFlowSession;
@end
@interface EXGoogle : EXScopedBridgeModule </s> remove #import <React/RCTBridgeModule.h>
</s> add #import "EXScopedBridgeModule.h" </s> add @class EXGoogleAuthManager; </s> add B58FFAAC1F1016B700A51363 /* EXGoogleAuthManager.m in Sources */, </s> add B58FFAAA1F1016B700A51363 /* EXGoogleAuthManager.h */,
B58FFAAB1F1016B700A51363 /* EXGoogleAuthManager.m */, </s> add B58FFAAA1F1016B700A51363 /* EXGoogleAuthManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EXGoogleAuthManager.h; sourceTree = "<group>"; };
B58FFAAB1F1016B700A51363 /* EXGoogleAuthManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EXGoogleAuthManager.m; sourceTree = "<group>"; };
|
https://github.com/expo/expo/commit/5ffdbfe69a33fa626e6a95a59c583074c153b723
|
ios/Exponent/Kernel/Services/EXKernelServiceRegistry.h
|
keep replace keep replace
|
<mask>
<mask> #import <React/RCTBridgeModule.h>
<mask>
<mask> @interface EXGoogle : NSObject <RCTBridgeModule>
</s> Scope EXGoogle, add kernel google auth service
fbshipit-source-id: 89ec46d479 </s> add @class EXGoogleAuthManager; </s> add @property (nonatomic, readonly) EXGoogleAuthManager *googleAuthManager; </s> add B58FFAAC1F1016B700A51363 /* EXGoogleAuthManager.m in Sources */, </s> add B58FFAAA1F1016B700A51363 /* EXGoogleAuthManager.h */,
B58FFAAB1F1016B700A51363 /* EXGoogleAuthManager.m */, </s> add B58FFAAA1F1016B700A51363 /* EXGoogleAuthManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EXGoogleAuthManager.h; sourceTree = "<group>"; };
B58FFAAB1F1016B700A51363 /* EXGoogleAuthManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EXGoogleAuthManager.m; sourceTree = "<group>"; };
|
https://github.com/expo/expo/commit/5ffdbfe69a33fa626e6a95a59c583074c153b723
|
ios/Exponent/Versioned/Modules/Api/EXGoogle.h
|
keep keep keep keep replace replace keep keep keep keep keep
|
<mask>
<mask> import expo.modules.adapters.react.ReactActivityDelegateWrapper;
<mask> import expo.modules.devlauncher.DevLauncherController;
<mask> import expo.modules.devmenu.react.DevMenuAwareReactActivity;
<mask> import expo.modules.splashscreen.SplashScreenImageResizeMode;
<mask> import expo.modules.splashscreen.singletons.SplashScreen;
<mask>
<mask> public class MainActivity extends DevMenuAwareReactActivity {
<mask>
<mask> /**
<mask> * Returns the name of the main component registered from JavaScript.
</s> [splash-screen] setup resizeMode by resource instead of code (#14061)
# Why
save config-plugin to use dangerous mod for modifying some splash screen styles like `resizeMode`
# How
based on #13457 we had the in-module `show` for splash screen. this pr additionally moves `resizeMode` and `statusBarTranslucent` into resource. with the help of gradle system, application could easily override the library default value. bare-expo changes in this pr is an example of that.
# Migration Guide for expo-splash-screen < 0.12.0
The changes in the pr are backward compatible, the code for `expo-splash-screen` will still work as it used to be. However, if you are going to migrate as new style API, here are the steps:
1. Migrate your project from react-native-unimodules to expo-modules-core
2. Remove expo-splash-screen code from MainActivity
```diff
--- a/android/app/src/main/java/com/helloworld/MainActivity.java
+++ b/android/app/src/main/java/com/helloworld/MainActivity.java
import com.facebook.react.ReactRootView;
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
-import expo.modules.splashscreen.singletons.SplashScreen;
-import expo.modules.splashscreen.SplashScreenImageResizeMode;
-
public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
// This is required for expo-splash-screen.
setTheme(R.style.AppTheme);
super.onCreate(null);
- // SplashScreen.show(...) has to be called after super.onCreate(...)
- // Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
- SplashScreen.show(this, SplashScreenImageResizeMode.CONTAIN, ReactRootView.class, false);
}
```
3. Override default `resizeMode` and `statusBarTranslucent` in stings.xml
```diff
--- a/android/app/src/main/res/values/strings.xml
+++ b/android/app/src/main/res/values/strings.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resources>
<string name="app_name">sdk42</string>
+ <string name="expo_splash_screen_resize_mode">contain</string>
+ <string name="expo_splash_screen_status_bar_translucent">false</string>
</resources>
```
# Test Plan
check bare-expo android app to show the same splash screen before and after.
# Checklist
- [x] Documentation is up to date to reflect these changes (eg: https://docs.expo.io and README.md).
- [x] Update configure-splash-screen https://github.com/expo/expo-cli/pull/3774
- [x] This diff will work correctly for `expo build` (eg: updated `@expo/xdl`).
- [x] This diff will work correctly for `expo prebuild` & EAS Build (eg: updated a module plugin): https://github.com/expo/expo-cli/pull/3784 </s> remove SplashScreen.show(activity, SplashScreenImageResizeMode.CONTAIN, ReactRootView::class.java, false)
</s> add SplashScreen.show(
activity,
getResizeMode(activity),
ReactRootView::class.java,
getStatusBarTranslucent(activity)
) </s> add private fun getResizeMode(context: Context): SplashScreenImageResizeMode =
SplashScreenImageResizeMode.fromString(
context.getString(R.string.expo_splash_screen_resize_mode).toLowerCase()
)
?: SplashScreenImageResizeMode.CONTAIN
private fun getStatusBarTranslucent(context: Context): Boolean =
context.getString(R.string.expo_splash_screen_status_bar_translucent).toBoolean() </s> add <string name="expo_splash_screen_resize_mode" translatable="false">cover</string>
</resources> </s> remove </resources> </s> add </s> remove // SplashScreen.show(...) has to be called after super.onCreate(...)
// Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
SplashScreen.show(activity, SplashScreenImageResizeMode.COVER, ReactRootView.class, false);
</s> add
|
https://github.com/expo/expo/commit/603216269a06996ba26315f34285d3f43ca22e15
|
apps/bare-expo/android/app/src/main/java/dev/expo/payments/MainActivity.java
|
keep keep keep keep replace replace replace keep keep keep keep keep
|
<mask>
<mask> @Override
<mask> protected void onCreate(Bundle savedInstanceState) {
<mask> super.onCreate(savedInstanceState);
<mask> // SplashScreen.show(...) has to be called after super.onCreate(...)
<mask> // Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
<mask> SplashScreen.show(activity, SplashScreenImageResizeMode.COVER, ReactRootView.class, false);
<mask>
<mask> // Hacky way to prevent onboarding DevMenuActivity breaks detox testing,
<mask> // we do this by setting the dev-menu internal setting.
<mask> final Intent intent = getIntent();
<mask> final String action = intent.getAction();
</s> [splash-screen] setup resizeMode by resource instead of code (#14061)
# Why
save config-plugin to use dangerous mod for modifying some splash screen styles like `resizeMode`
# How
based on #13457 we had the in-module `show` for splash screen. this pr additionally moves `resizeMode` and `statusBarTranslucent` into resource. with the help of gradle system, application could easily override the library default value. bare-expo changes in this pr is an example of that.
# Migration Guide for expo-splash-screen < 0.12.0
The changes in the pr are backward compatible, the code for `expo-splash-screen` will still work as it used to be. However, if you are going to migrate as new style API, here are the steps:
1. Migrate your project from react-native-unimodules to expo-modules-core
2. Remove expo-splash-screen code from MainActivity
```diff
--- a/android/app/src/main/java/com/helloworld/MainActivity.java
+++ b/android/app/src/main/java/com/helloworld/MainActivity.java
import com.facebook.react.ReactRootView;
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
-import expo.modules.splashscreen.singletons.SplashScreen;
-import expo.modules.splashscreen.SplashScreenImageResizeMode;
-
public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
// This is required for expo-splash-screen.
setTheme(R.style.AppTheme);
super.onCreate(null);
- // SplashScreen.show(...) has to be called after super.onCreate(...)
- // Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
- SplashScreen.show(this, SplashScreenImageResizeMode.CONTAIN, ReactRootView.class, false);
}
```
3. Override default `resizeMode` and `statusBarTranslucent` in stings.xml
```diff
--- a/android/app/src/main/res/values/strings.xml
+++ b/android/app/src/main/res/values/strings.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resources>
<string name="app_name">sdk42</string>
+ <string name="expo_splash_screen_resize_mode">contain</string>
+ <string name="expo_splash_screen_status_bar_translucent">false</string>
</resources>
```
# Test Plan
check bare-expo android app to show the same splash screen before and after.
# Checklist
- [x] Documentation is up to date to reflect these changes (eg: https://docs.expo.io and README.md).
- [x] Update configure-splash-screen https://github.com/expo/expo-cli/pull/3774
- [x] This diff will work correctly for `expo build` (eg: updated `@expo/xdl`).
- [x] This diff will work correctly for `expo prebuild` & EAS Build (eg: updated a module plugin): https://github.com/expo/expo-cli/pull/3784 </s> remove SplashScreen.show(activity, SplashScreenImageResizeMode.CONTAIN, ReactRootView::class.java, false)
</s> add SplashScreen.show(
activity,
getResizeMode(activity),
ReactRootView::class.java,
getStatusBarTranslucent(activity)
) </s> add private fun getResizeMode(context: Context): SplashScreenImageResizeMode =
SplashScreenImageResizeMode.fromString(
context.getString(R.string.expo_splash_screen_resize_mode).toLowerCase()
)
?: SplashScreenImageResizeMode.CONTAIN
private fun getStatusBarTranslucent(context: Context): Boolean =
context.getString(R.string.expo_splash_screen_status_bar_translucent).toBoolean() </s> add <string name="expo_splash_screen_resize_mode" translatable="false">cover</string>
</resources> </s> remove </resources> </s> add </s> remove import expo.modules.splashscreen.SplashScreenImageResizeMode;
import expo.modules.splashscreen.singletons.SplashScreen;
</s> add
|
https://github.com/expo/expo/commit/603216269a06996ba26315f34285d3f43ca22e15
|
apps/bare-expo/android/app/src/main/java/dev/expo/payments/MainActivity.java
|
keep keep keep keep replace
|
<mask> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<mask> <resources>
<mask> <string name="app_name">BareExpo</string>
<mask> <string name="facebook_app_id">629712900716487</string>
<mask> </resources> </s> [splash-screen] setup resizeMode by resource instead of code (#14061)
# Why
save config-plugin to use dangerous mod for modifying some splash screen styles like `resizeMode`
# How
based on #13457 we had the in-module `show` for splash screen. this pr additionally moves `resizeMode` and `statusBarTranslucent` into resource. with the help of gradle system, application could easily override the library default value. bare-expo changes in this pr is an example of that.
# Migration Guide for expo-splash-screen < 0.12.0
The changes in the pr are backward compatible, the code for `expo-splash-screen` will still work as it used to be. However, if you are going to migrate as new style API, here are the steps:
1. Migrate your project from react-native-unimodules to expo-modules-core
2. Remove expo-splash-screen code from MainActivity
```diff
--- a/android/app/src/main/java/com/helloworld/MainActivity.java
+++ b/android/app/src/main/java/com/helloworld/MainActivity.java
import com.facebook.react.ReactRootView;
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
-import expo.modules.splashscreen.singletons.SplashScreen;
-import expo.modules.splashscreen.SplashScreenImageResizeMode;
-
public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
// This is required for expo-splash-screen.
setTheme(R.style.AppTheme);
super.onCreate(null);
- // SplashScreen.show(...) has to be called after super.onCreate(...)
- // Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
- SplashScreen.show(this, SplashScreenImageResizeMode.CONTAIN, ReactRootView.class, false);
}
```
3. Override default `resizeMode` and `statusBarTranslucent` in stings.xml
```diff
--- a/android/app/src/main/res/values/strings.xml
+++ b/android/app/src/main/res/values/strings.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resources>
<string name="app_name">sdk42</string>
+ <string name="expo_splash_screen_resize_mode">contain</string>
+ <string name="expo_splash_screen_status_bar_translucent">false</string>
</resources>
```
# Test Plan
check bare-expo android app to show the same splash screen before and after.
# Checklist
- [x] Documentation is up to date to reflect these changes (eg: https://docs.expo.io and README.md).
- [x] Update configure-splash-screen https://github.com/expo/expo-cli/pull/3774
- [x] This diff will work correctly for `expo build` (eg: updated `@expo/xdl`).
- [x] This diff will work correctly for `expo prebuild` & EAS Build (eg: updated a module plugin): https://github.com/expo/expo-cli/pull/3784 </s> add <string name="expo_splash_screen_resize_mode" translatable="false">cover</string>
</resources> </s> add private fun getResizeMode(context: Context): SplashScreenImageResizeMode =
SplashScreenImageResizeMode.fromString(
context.getString(R.string.expo_splash_screen_resize_mode).toLowerCase()
)
?: SplashScreenImageResizeMode.CONTAIN
private fun getStatusBarTranslucent(context: Context): Boolean =
context.getString(R.string.expo_splash_screen_status_bar_translucent).toBoolean() </s> remove SplashScreen.show(activity, SplashScreenImageResizeMode.CONTAIN, ReactRootView::class.java, false)
</s> add SplashScreen.show(
activity,
getResizeMode(activity),
ReactRootView::class.java,
getStatusBarTranslucent(activity)
) </s> remove // SplashScreen.show(...) has to be called after super.onCreate(...)
// Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
SplashScreen.show(activity, SplashScreenImageResizeMode.COVER, ReactRootView.class, false);
</s> add </s> remove import expo.modules.splashscreen.SplashScreenImageResizeMode;
import expo.modules.splashscreen.singletons.SplashScreen;
</s> add
|
https://github.com/expo/expo/commit/603216269a06996ba26315f34285d3f43ca22e15
|
apps/bare-expo/android/app/src/main/res/values/strings.xml
|
keep keep keep add
|
<mask> <resources>
<mask> <string name="app_name">BareExpo</string>
<mask> <string name="facebook_app_id">629712900716487</string>
<mask> <string name="expo_splash_screen_resize_mode" translatable="false">cover</string>
</s> [splash-screen] setup resizeMode by resource instead of code (#14061)
# Why
save config-plugin to use dangerous mod for modifying some splash screen styles like `resizeMode`
# How
based on #13457 we had the in-module `show` for splash screen. this pr additionally moves `resizeMode` and `statusBarTranslucent` into resource. with the help of gradle system, application could easily override the library default value. bare-expo changes in this pr is an example of that.
# Migration Guide for expo-splash-screen < 0.12.0
The changes in the pr are backward compatible, the code for `expo-splash-screen` will still work as it used to be. However, if you are going to migrate as new style API, here are the steps:
1. Migrate your project from react-native-unimodules to expo-modules-core
2. Remove expo-splash-screen code from MainActivity
```diff
--- a/android/app/src/main/java/com/helloworld/MainActivity.java
+++ b/android/app/src/main/java/com/helloworld/MainActivity.java
import com.facebook.react.ReactRootView;
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
-import expo.modules.splashscreen.singletons.SplashScreen;
-import expo.modules.splashscreen.SplashScreenImageResizeMode;
-
public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
// This is required for expo-splash-screen.
setTheme(R.style.AppTheme);
super.onCreate(null);
- // SplashScreen.show(...) has to be called after super.onCreate(...)
- // Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
- SplashScreen.show(this, SplashScreenImageResizeMode.CONTAIN, ReactRootView.class, false);
}
```
3. Override default `resizeMode` and `statusBarTranslucent` in stings.xml
```diff
--- a/android/app/src/main/res/values/strings.xml
+++ b/android/app/src/main/res/values/strings.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resources>
<string name="app_name">sdk42</string>
+ <string name="expo_splash_screen_resize_mode">contain</string>
+ <string name="expo_splash_screen_status_bar_translucent">false</string>
</resources>
```
# Test Plan
check bare-expo android app to show the same splash screen before and after.
# Checklist
- [x] Documentation is up to date to reflect these changes (eg: https://docs.expo.io and README.md).
- [x] Update configure-splash-screen https://github.com/expo/expo-cli/pull/3774
- [x] This diff will work correctly for `expo build` (eg: updated `@expo/xdl`).
- [x] This diff will work correctly for `expo prebuild` & EAS Build (eg: updated a module plugin): https://github.com/expo/expo-cli/pull/3784 </s> remove </resources> </s> add </s> add private fun getResizeMode(context: Context): SplashScreenImageResizeMode =
SplashScreenImageResizeMode.fromString(
context.getString(R.string.expo_splash_screen_resize_mode).toLowerCase()
)
?: SplashScreenImageResizeMode.CONTAIN
private fun getStatusBarTranslucent(context: Context): Boolean =
context.getString(R.string.expo_splash_screen_status_bar_translucent).toBoolean() </s> remove SplashScreen.show(activity, SplashScreenImageResizeMode.CONTAIN, ReactRootView::class.java, false)
</s> add SplashScreen.show(
activity,
getResizeMode(activity),
ReactRootView::class.java,
getStatusBarTranslucent(activity)
) </s> remove // SplashScreen.show(...) has to be called after super.onCreate(...)
// Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
SplashScreen.show(activity, SplashScreenImageResizeMode.COVER, ReactRootView.class, false);
</s> add </s> remove import expo.modules.splashscreen.SplashScreenImageResizeMode;
import expo.modules.splashscreen.singletons.SplashScreen;
</s> add
|
https://github.com/expo/expo/commit/603216269a06996ba26315f34285d3f43ca22e15
|
apps/bare-expo/android/app/src/main/res/values/strings.xml
|
keep keep keep keep replace keep keep keep
|
<mask> // that calling `SplashScreen.show()` in MainActivity,
<mask> // we postpone the in-module call to the end of main loop.
<mask> // If MainActivity.onCreate has `SplashScreen.show()`, it will override the call here.
<mask> Handler(activity.mainLooper).post {
<mask> SplashScreen.show(activity, SplashScreenImageResizeMode.CONTAIN, ReactRootView::class.java, false)
<mask> }
<mask> }
<mask> }
</s> [splash-screen] setup resizeMode by resource instead of code (#14061)
# Why
save config-plugin to use dangerous mod for modifying some splash screen styles like `resizeMode`
# How
based on #13457 we had the in-module `show` for splash screen. this pr additionally moves `resizeMode` and `statusBarTranslucent` into resource. with the help of gradle system, application could easily override the library default value. bare-expo changes in this pr is an example of that.
# Migration Guide for expo-splash-screen < 0.12.0
The changes in the pr are backward compatible, the code for `expo-splash-screen` will still work as it used to be. However, if you are going to migrate as new style API, here are the steps:
1. Migrate your project from react-native-unimodules to expo-modules-core
2. Remove expo-splash-screen code from MainActivity
```diff
--- a/android/app/src/main/java/com/helloworld/MainActivity.java
+++ b/android/app/src/main/java/com/helloworld/MainActivity.java
import com.facebook.react.ReactRootView;
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
-import expo.modules.splashscreen.singletons.SplashScreen;
-import expo.modules.splashscreen.SplashScreenImageResizeMode;
-
public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
// This is required for expo-splash-screen.
setTheme(R.style.AppTheme);
super.onCreate(null);
- // SplashScreen.show(...) has to be called after super.onCreate(...)
- // Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
- SplashScreen.show(this, SplashScreenImageResizeMode.CONTAIN, ReactRootView.class, false);
}
```
3. Override default `resizeMode` and `statusBarTranslucent` in stings.xml
```diff
--- a/android/app/src/main/res/values/strings.xml
+++ b/android/app/src/main/res/values/strings.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resources>
<string name="app_name">sdk42</string>
+ <string name="expo_splash_screen_resize_mode">contain</string>
+ <string name="expo_splash_screen_status_bar_translucent">false</string>
</resources>
```
# Test Plan
check bare-expo android app to show the same splash screen before and after.
# Checklist
- [x] Documentation is up to date to reflect these changes (eg: https://docs.expo.io and README.md).
- [x] Update configure-splash-screen https://github.com/expo/expo-cli/pull/3774
- [x] This diff will work correctly for `expo build` (eg: updated `@expo/xdl`).
- [x] This diff will work correctly for `expo prebuild` & EAS Build (eg: updated a module plugin): https://github.com/expo/expo-cli/pull/3784 </s> remove // SplashScreen.show(...) has to be called after super.onCreate(...)
// Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
SplashScreen.show(activity, SplashScreenImageResizeMode.COVER, ReactRootView.class, false);
</s> add </s> add private fun getResizeMode(context: Context): SplashScreenImageResizeMode =
SplashScreenImageResizeMode.fromString(
context.getString(R.string.expo_splash_screen_resize_mode).toLowerCase()
)
?: SplashScreenImageResizeMode.CONTAIN
private fun getStatusBarTranslucent(context: Context): Boolean =
context.getString(R.string.expo_splash_screen_status_bar_translucent).toBoolean() </s> remove import expo.modules.splashscreen.SplashScreenImageResizeMode;
import expo.modules.splashscreen.singletons.SplashScreen;
</s> add </s> add <string name="expo_splash_screen_resize_mode" translatable="false">cover</string>
</resources> </s> remove </resources> </s> add
|
https://github.com/expo/expo/commit/603216269a06996ba26315f34285d3f43ca22e15
|
packages/expo-splash-screen/android/src/main/java/expo/modules/splashscreen/SplashScreenReactActivityLifecycleListener.kt
|
keep keep keep add keep
|
<mask> getStatusBarTranslucent(activity)
<mask> )
<mask> }
<mask> }
<mask> }
</s> [splash-screen] setup resizeMode by resource instead of code (#14061)
# Why
save config-plugin to use dangerous mod for modifying some splash screen styles like `resizeMode`
# How
based on #13457 we had the in-module `show` for splash screen. this pr additionally moves `resizeMode` and `statusBarTranslucent` into resource. with the help of gradle system, application could easily override the library default value. bare-expo changes in this pr is an example of that.
# Migration Guide for expo-splash-screen < 0.12.0
The changes in the pr are backward compatible, the code for `expo-splash-screen` will still work as it used to be. However, if you are going to migrate as new style API, here are the steps:
1. Migrate your project from react-native-unimodules to expo-modules-core
2. Remove expo-splash-screen code from MainActivity
```diff
--- a/android/app/src/main/java/com/helloworld/MainActivity.java
+++ b/android/app/src/main/java/com/helloworld/MainActivity.java
import com.facebook.react.ReactRootView;
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
-import expo.modules.splashscreen.singletons.SplashScreen;
-import expo.modules.splashscreen.SplashScreenImageResizeMode;
-
public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
// This is required for expo-splash-screen.
setTheme(R.style.AppTheme);
super.onCreate(null);
- // SplashScreen.show(...) has to be called after super.onCreate(...)
- // Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
- SplashScreen.show(this, SplashScreenImageResizeMode.CONTAIN, ReactRootView.class, false);
}
```
3. Override default `resizeMode` and `statusBarTranslucent` in stings.xml
```diff
--- a/android/app/src/main/res/values/strings.xml
+++ b/android/app/src/main/res/values/strings.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resources>
<string name="app_name">sdk42</string>
+ <string name="expo_splash_screen_resize_mode">contain</string>
+ <string name="expo_splash_screen_status_bar_translucent">false</string>
</resources>
```
# Test Plan
check bare-expo android app to show the same splash screen before and after.
# Checklist
- [x] Documentation is up to date to reflect these changes (eg: https://docs.expo.io and README.md).
- [x] Update configure-splash-screen https://github.com/expo/expo-cli/pull/3774
- [x] This diff will work correctly for `expo build` (eg: updated `@expo/xdl`).
- [x] This diff will work correctly for `expo prebuild` & EAS Build (eg: updated a module plugin): https://github.com/expo/expo-cli/pull/3784 </s> remove SplashScreen.show(activity, SplashScreenImageResizeMode.CONTAIN, ReactRootView::class.java, false)
</s> add SplashScreen.show(
activity,
getResizeMode(activity),
ReactRootView::class.java,
getStatusBarTranslucent(activity)
) </s> add <string name="expo_splash_screen_resize_mode" translatable="false">cover</string>
</resources> </s> remove </resources> </s> add </s> remove // SplashScreen.show(...) has to be called after super.onCreate(...)
// Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manually
SplashScreen.show(activity, SplashScreenImageResizeMode.COVER, ReactRootView.class, false);
</s> add </s> remove import expo.modules.splashscreen.SplashScreenImageResizeMode;
import expo.modules.splashscreen.singletons.SplashScreen;
</s> add
|
https://github.com/expo/expo/commit/603216269a06996ba26315f34285d3f43ca22e15
|
packages/expo-splash-screen/android/src/main/java/expo/modules/splashscreen/SplashScreenReactActivityLifecycleListener.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> package expo.modules.kotlin.jni
<mask>
<mask> import com.facebook.jni.HybridData
<mask> import expo.modules.core.interfaces.DoNotStrip
<mask> import expo.modules.kotlin.typedarray.AnyTypedArray
<mask> import java.nio.ByteBuffer
<mask>
<mask> private var nextValue = 1
<mask>
<mask> private fun nextValue(): Int = nextValue++
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove import expo.modules.kotlin.typedarray.AnyTypedArray
</s> add import expo.modules.kotlin.typedarray.TypedArray </s> remove import expo.modules.kotlin.typedarray.AnyTypedArray
</s> add import expo.modules.kotlin.typedarray.TypedArray </s> remove private inline fun AnyTypedArray.checkIfInRange(index: Int) {
</s> add private inline fun TypedArray.checkIfInRange(index: Int) { </s> remove interface GenericTypedArray<T> : AnyTypedArray, Iterable<T> {
</s> add interface GenericTypedArray<T> : TypedArray, Iterable<T> { </s> remove abstract class BaseTypeArrayConverter<T : AnyTypedArray>(isOptional: Boolean) : TypeConverter<T>(isOptional) {
</s> add abstract class BaseTypeArrayConverter<T : TypedArray>(isOptional: Boolean) : TypeConverter<T>(isOptional) { </s> remove class TypedArrayTypeConverter(isOptional: Boolean) : BaseTypeArrayConverter<AnyTypedArray>(isOptional) {
override fun wrapJavaScriptTypedArray(value: JavaScriptTypedArray): AnyTypedArray = value
</s> add class TypedArrayTypeConverter(isOptional: Boolean) : BaseTypeArrayConverter<TypedArray>(isOptional) {
override fun wrapJavaScriptTypedArray(value: JavaScriptTypedArray): TypedArray = value
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/jni/JavaScriptTypedArray.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask>
<mask> @Suppress("KotlinJniMissingFunction")
<mask> @DoNotStrip
<mask> class JavaScriptTypedArray @DoNotStrip constructor(hybridData: HybridData) :
<mask> JavaScriptObject(hybridData), AnyTypedArray {
<mask>
<mask> override val kind: TypedArrayKind by lazy {
<mask> val rawKind = getRawKind()
<mask> TypedArrayKind.values().first { it.value == rawKind }
<mask> }
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Double> {
</s> add TypedArray by rawArray, GenericTypedArray<Double> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Float> {
</s> add TypedArray by rawArray, GenericTypedArray<Float> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/jni/JavaScriptTypedArray.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask>
<mask> import expo.modules.kotlin.jni.JavaScriptTypedArray
<mask>
<mask> @Suppress("NOTHING_TO_INLINE")
<mask> private inline fun AnyTypedArray.checkIfInRange(index: Int) {
<mask> if (index < 0 || index >= length) {
<mask> throw IndexOutOfBoundsException()
<mask> }
<mask> }
<mask>
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove import expo.modules.kotlin.typedarray.AnyTypedArray
</s> add import expo.modules.kotlin.typedarray.TypedArray </s> remove import expo.modules.kotlin.typedarray.AnyTypedArray
</s> add import expo.modules.kotlin.typedarray.TypedArray </s> remove AnyTypedArray by rawArray, GenericTypedArray<UShort> {
</s> add TypedArray by rawArray, GenericTypedArray<UShort> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Short> {
</s> add TypedArray by rawArray, GenericTypedArray<Short> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Int> {
</s> add TypedArray by rawArray, GenericTypedArray<Int> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/ConcreteTypedArrays.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask> }
<mask>
<mask> class Int8Array(private val rawArray: JavaScriptTypedArray) :
<mask> AnyTypedArray by rawArray, GenericTypedArray<Byte> {
<mask> override operator fun get(index: Int): Byte {
<mask> checkIfInRange(index)
<mask> return readByte(index * Byte.SIZE_BYTES)
<mask> }
<mask>
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove AnyTypedArray by rawArray, GenericTypedArray<UByte> {
</s> add TypedArray by rawArray, GenericTypedArray<UByte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UByte> {
</s> add TypedArray by rawArray, GenericTypedArray<UByte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Double> {
</s> add TypedArray by rawArray, GenericTypedArray<Double> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/ConcreteTypedArrays.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask> }
<mask>
<mask> class Int16Array(private val rawArray: JavaScriptTypedArray) :
<mask> AnyTypedArray by rawArray, GenericTypedArray<Short> {
<mask> override operator fun get(index: Int): Short {
<mask> checkIfInRange(index)
<mask> return read2Byte(index * Short.SIZE_BYTES)
<mask> }
<mask>
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove AnyTypedArray by rawArray, GenericTypedArray<UShort> {
</s> add TypedArray by rawArray, GenericTypedArray<UShort> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Double> {
</s> add TypedArray by rawArray, GenericTypedArray<Double> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/ConcreteTypedArrays.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask> }
<mask>
<mask> class Int32Array(private val rawArray: JavaScriptTypedArray) :
<mask> AnyTypedArray by rawArray, GenericTypedArray<Int> {
<mask> override operator fun get(index: Int): Int {
<mask> checkIfInRange(index)
<mask> return read4Byte(index * Int.SIZE_BYTES)
<mask> }
<mask>
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Double> {
</s> add TypedArray by rawArray, GenericTypedArray<Double> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Float> {
</s> add TypedArray by rawArray, GenericTypedArray<Float> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/ConcreteTypedArrays.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask> }
<mask>
<mask> class Uint8Array(private val rawArray: JavaScriptTypedArray) :
<mask> AnyTypedArray by rawArray, GenericTypedArray<UByte> {
<mask> override operator fun get(index: Int): UByte {
<mask> checkIfInRange(index)
<mask> return readByte(index * UByte.SIZE_BYTES).toUByte()
<mask> }
<mask>
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove AnyTypedArray by rawArray, GenericTypedArray<UByte> {
</s> add TypedArray by rawArray, GenericTypedArray<UByte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Double> {
</s> add TypedArray by rawArray, GenericTypedArray<Double> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/ConcreteTypedArrays.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask> }
<mask>
<mask> class Uint8ClampedArray(private val rawArray: JavaScriptTypedArray) :
<mask> AnyTypedArray by rawArray, GenericTypedArray<UByte> {
<mask> override operator fun get(index: Int): UByte {
<mask> checkIfInRange(index)
<mask> return readByte(index * UByte.SIZE_BYTES).toUByte()
<mask> }
<mask>
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove AnyTypedArray by rawArray, GenericTypedArray<UByte> {
</s> add TypedArray by rawArray, GenericTypedArray<UByte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Double> {
</s> add TypedArray by rawArray, GenericTypedArray<Double> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/ConcreteTypedArrays.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask> }
<mask>
<mask> class Uint16Array(private val rawArray: JavaScriptTypedArray) :
<mask> AnyTypedArray by rawArray, GenericTypedArray<UShort> {
<mask> override operator fun get(index: Int): UShort {
<mask> checkIfInRange(index)
<mask> return read2Byte(index * UShort.SIZE_BYTES).toUShort()
<mask> }
<mask>
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove AnyTypedArray by rawArray, GenericTypedArray<Short> {
</s> add TypedArray by rawArray, GenericTypedArray<Short> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Double> {
</s> add TypedArray by rawArray, GenericTypedArray<Double> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/ConcreteTypedArrays.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask> }
<mask>
<mask> class Uint32Array(private val rawArray: JavaScriptTypedArray) :
<mask> AnyTypedArray by rawArray, GenericTypedArray<UInt> {
<mask> override operator fun get(index: Int): UInt {
<mask> checkIfInRange(index)
<mask> return read4Byte(index * UInt.SIZE_BYTES).toUInt()
<mask> }
<mask>
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove AnyTypedArray by rawArray, GenericTypedArray<Int> {
</s> add TypedArray by rawArray, GenericTypedArray<Int> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Double> {
</s> add TypedArray by rawArray, GenericTypedArray<Double> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Float> {
</s> add TypedArray by rawArray, GenericTypedArray<Float> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/ConcreteTypedArrays.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask> }
<mask>
<mask> class Float32Array(private val rawArray: JavaScriptTypedArray) :
<mask> AnyTypedArray by rawArray, GenericTypedArray<Float> {
<mask> override operator fun get(index: Int): Float {
<mask> checkIfInRange(index)
<mask> return readFloat(index * Float.SIZE_BYTES)
<mask> }
<mask>
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Double> {
</s> add TypedArray by rawArray, GenericTypedArray<Double> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UShort> {
</s> add TypedArray by rawArray, GenericTypedArray<UShort> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/ConcreteTypedArrays.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask> }
<mask>
<mask> class Float64Array(private val rawArray: JavaScriptTypedArray) :
<mask> AnyTypedArray by rawArray, GenericTypedArray<Double> {
<mask>
<mask> override operator fun get(index: Int): Double {
<mask> checkIfInRange(index)
<mask> return readDouble(index * Double.SIZE_BYTES)
<mask> }
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Float> {
</s> add TypedArray by rawArray, GenericTypedArray<Float> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UShort> {
</s> add TypedArray by rawArray, GenericTypedArray<UShort> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/ConcreteTypedArrays.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask> }
<mask>
<mask> class BigInt64Array(private val rawArray: JavaScriptTypedArray) :
<mask> AnyTypedArray by rawArray, GenericTypedArray<Long> {
<mask> override operator fun get(index: Int): Long {
<mask> checkIfInRange(index)
<mask> return read8Byte(index * Long.SIZE_BYTES)
<mask> }
<mask>
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Double> {
</s> add TypedArray by rawArray, GenericTypedArray<Double> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Float> {
</s> add TypedArray by rawArray, GenericTypedArray<Float> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UShort> {
</s> add TypedArray by rawArray, GenericTypedArray<UShort> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/ConcreteTypedArrays.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> }
<mask> }
<mask>
<mask> class BigUint64Array(private val rawArray: JavaScriptTypedArray) :
<mask> AnyTypedArray by rawArray, GenericTypedArray<ULong> {
<mask> override operator fun get(index: Int): ULong {
<mask> checkIfInRange(index)
<mask> return read8Byte(index * ULong.SIZE_BYTES).toULong()
<mask> }
<mask>
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Double> {
</s> add TypedArray by rawArray, GenericTypedArray<Double> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Float> {
</s> add TypedArray by rawArray, GenericTypedArray<Float> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UShort> {
</s> add TypedArray by rawArray, GenericTypedArray<UShort> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/ConcreteTypedArrays.kt
|
keep keep replace keep keep keep keep keep
|
<mask> package expo.modules.kotlin.typedarray
<mask>
<mask> interface GenericTypedArray<T> : AnyTypedArray, Iterable<T> {
<mask> operator fun get(index: Int): T
<mask> operator fun set(index: Int, value: T)
<mask>
<mask> override fun iterator(): Iterator<T> = TypedArrayIterator(this)
<mask> }
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove abstract class BaseTypeArrayConverter<T : AnyTypedArray>(isOptional: Boolean) : TypeConverter<T>(isOptional) {
</s> add abstract class BaseTypeArrayConverter<T : TypedArray>(isOptional: Boolean) : TypeConverter<T>(isOptional) { </s> remove class TypedArrayTypeConverter(isOptional: Boolean) : BaseTypeArrayConverter<AnyTypedArray>(isOptional) {
override fun wrapJavaScriptTypedArray(value: JavaScriptTypedArray): AnyTypedArray = value
</s> add class TypedArrayTypeConverter(isOptional: Boolean) : BaseTypeArrayConverter<TypedArray>(isOptional) {
override fun wrapJavaScriptTypedArray(value: JavaScriptTypedArray): TypedArray = value </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Int> {
</s> add TypedArray by rawArray, GenericTypedArray<Int> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/typedarray/GenericTypedArray.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> import expo.modules.kotlin.typedarray.Int8Array
<mask> import expo.modules.kotlin.jni.JavaScriptObject
<mask> import expo.modules.kotlin.jni.JavaScriptTypedArray
<mask> import expo.modules.kotlin.jni.JavaScriptValue
<mask> import expo.modules.kotlin.typedarray.AnyTypedArray
<mask> import expo.modules.kotlin.typedarray.Uint16Array
<mask> import expo.modules.kotlin.typedarray.Uint32Array
<mask> import expo.modules.kotlin.typedarray.Uint8Array
<mask> import expo.modules.kotlin.typedarray.Uint8ClampedArray
<mask>
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove import expo.modules.kotlin.typedarray.AnyTypedArray
</s> add import expo.modules.kotlin.typedarray.TypedArray </s> remove import expo.modules.kotlin.typedarray.AnyTypedArray
</s> add import expo.modules.kotlin.typedarray.TypedArray </s> remove private inline fun AnyTypedArray.checkIfInRange(index: Int) {
</s> add private inline fun TypedArray.checkIfInRange(index: Int) { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UShort> {
</s> add TypedArray by rawArray, GenericTypedArray<UShort> { </s> remove JavaScriptObject(hybridData), AnyTypedArray {
</s> add JavaScriptObject(hybridData), TypedArray { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/BasicTypeConverters.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> override fun convertNonOptional(value: Any): JavaScriptObject = value as JavaScriptObject
<mask> override fun getCppRequiredTypes(): List<CppType> = listOf(CppType.JS_OBJECT)
<mask> }
<mask>
<mask> abstract class BaseTypeArrayConverter<T : AnyTypedArray>(isOptional: Boolean) : TypeConverter<T>(isOptional) {
<mask> abstract fun wrapJavaScriptTypedArray(value: JavaScriptTypedArray): T
<mask>
<mask> override fun convertNonOptional(value: Any): T = wrapJavaScriptTypedArray(value as JavaScriptTypedArray)
<mask>
<mask> override fun getCppRequiredTypes(): List<CppType> = listOf(CppType.TYPED_ARRAY)
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove class TypedArrayTypeConverter(isOptional: Boolean) : BaseTypeArrayConverter<AnyTypedArray>(isOptional) {
override fun wrapJavaScriptTypedArray(value: JavaScriptTypedArray): AnyTypedArray = value
</s> add class TypedArrayTypeConverter(isOptional: Boolean) : BaseTypeArrayConverter<TypedArray>(isOptional) {
override fun wrapJavaScriptTypedArray(value: JavaScriptTypedArray): TypedArray = value </s> remove interface GenericTypedArray<T> : AnyTypedArray, Iterable<T> {
</s> add interface GenericTypedArray<T> : TypedArray, Iterable<T> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Short> {
</s> add TypedArray by rawArray, GenericTypedArray<Short> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/BasicTypeConverters.kt
|
keep keep keep keep replace replace keep
|
<mask> class BigUint64ArrayTypeConverter(isOptional: Boolean) : BaseTypeArrayConverter<BigUint64Array>(isOptional) {
<mask> override fun wrapJavaScriptTypedArray(value: JavaScriptTypedArray) = BigUint64Array(value)
<mask> }
<mask>
<mask> class TypedArrayTypeConverter(isOptional: Boolean) : BaseTypeArrayConverter<AnyTypedArray>(isOptional) {
<mask> override fun wrapJavaScriptTypedArray(value: JavaScriptTypedArray): AnyTypedArray = value
<mask> }
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove abstract class BaseTypeArrayConverter<T : AnyTypedArray>(isOptional: Boolean) : TypeConverter<T>(isOptional) {
</s> add abstract class BaseTypeArrayConverter<T : TypedArray>(isOptional: Boolean) : TypeConverter<T>(isOptional) { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UInt> {
</s> add TypedArray by rawArray, GenericTypedArray<UInt> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Long> {
</s> add TypedArray by rawArray, GenericTypedArray<Long> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Double> {
</s> add TypedArray by rawArray, GenericTypedArray<Double> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/BasicTypeConverters.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> import expo.modules.kotlin.typedarray.Int32Array
<mask> import expo.modules.kotlin.typedarray.Int8Array
<mask> import expo.modules.kotlin.jni.JavaScriptObject
<mask> import expo.modules.kotlin.jni.JavaScriptValue
<mask> import expo.modules.kotlin.typedarray.AnyTypedArray
<mask> import expo.modules.kotlin.typedarray.Uint16Array
<mask> import expo.modules.kotlin.typedarray.Uint32Array
<mask> import expo.modules.kotlin.typedarray.Uint8Array
<mask> import expo.modules.kotlin.typedarray.Uint8ClampedArray
<mask> import expo.modules.kotlin.records.Record
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove import expo.modules.kotlin.typedarray.AnyTypedArray
</s> add import expo.modules.kotlin.typedarray.TypedArray </s> remove import expo.modules.kotlin.typedarray.AnyTypedArray
</s> add import expo.modules.kotlin.typedarray.TypedArray </s> remove private inline fun AnyTypedArray.checkIfInRange(index: Int) {
</s> add private inline fun TypedArray.checkIfInRange(index: Int) { </s> remove AnyTypedArray by rawArray, GenericTypedArray<UShort> {
</s> add TypedArray by rawArray, GenericTypedArray<UShort> { </s> remove JavaScriptObject(hybridData), AnyTypedArray {
</s> add JavaScriptObject(hybridData), TypedArray { </s> remove AnyTypedArray by rawArray, GenericTypedArray<Byte> {
</s> add TypedArray by rawArray, GenericTypedArray<Byte> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/TypeConverterProvider.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> Float32Array::class.createType(nullable = isOptional) to Float32ArrayTypeConverter(isOptional),
<mask> Float64Array::class.createType(nullable = isOptional) to Float64ArrayTypeConverter(isOptional),
<mask> BigInt64Array::class.createType(nullable = isOptional) to BigInt64ArrayTypeConverter(isOptional),
<mask> BigUint64Array::class.createType(nullable = isOptional) to BigUint64ArrayTypeConverter(isOptional),
<mask> AnyTypedArray::class.createType(nullable = isOptional) to TypedArrayTypeConverter(isOptional),
<mask>
<mask> Any::class.createType(nullable = isOptional) to AnyTypeConverter(isOptional),
<mask> )
<mask> }
<mask> }
</s> [sweet API][Kotlin] Renam `AnyTypedArray` -> `TypedArray` (#18575)
# Why
Replaces `AnyTypedArray` with `TypedArray`.
# How
Align with naming on the iOS. </s> remove class TypedArrayTypeConverter(isOptional: Boolean) : BaseTypeArrayConverter<AnyTypedArray>(isOptional) {
override fun wrapJavaScriptTypedArray(value: JavaScriptTypedArray): AnyTypedArray = value
</s> add class TypedArrayTypeConverter(isOptional: Boolean) : BaseTypeArrayConverter<TypedArray>(isOptional) {
override fun wrapJavaScriptTypedArray(value: JavaScriptTypedArray): TypedArray = value </s> remove abstract class BaseTypeArrayConverter<T : AnyTypedArray>(isOptional: Boolean) : TypeConverter<T>(isOptional) {
</s> add abstract class BaseTypeArrayConverter<T : TypedArray>(isOptional: Boolean) : TypeConverter<T>(isOptional) { </s> remove import expo.modules.kotlin.typedarray.AnyTypedArray
</s> add import expo.modules.kotlin.typedarray.TypedArray </s> remove JavaScriptObject(hybridData), AnyTypedArray {
</s> add JavaScriptObject(hybridData), TypedArray { </s> remove interface GenericTypedArray<T> : AnyTypedArray, Iterable<T> {
</s> add interface GenericTypedArray<T> : TypedArray, Iterable<T> { </s> remove AnyTypedArray by rawArray, GenericTypedArray<ULong> {
</s> add TypedArray by rawArray, GenericTypedArray<ULong> {
|
https://github.com/expo/expo/commit/60fe9247632dff9e7b7d706e56770bad839f0709
|
packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/TypeConverterProvider.kt
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> const ReactNative = jest.requireActual('react-native');
<mask> ReactNative.NativeModules.ExponentKernel.sdkVersions = '12.0.0,11.0.0';
<mask> return ReactNative;
<mask> });
<mask> jest.mock('@react-native-community/async-storage', () => ({}));
<mask> jest.mock('../../redux/Store');
<mask>
<mask> let originalFetch;
<mask>
<mask> beforeEach(() => {
</s> [home] Fix references to @react-native-community/async-storage </s> remove jest.mock('@react-native-community/async-storage', () => ({
</s> add jest.mock('@react-native-async-storage/async-storage', () => ({ </s> remove import AsyncStorage from '@react-native-community/async-storage';
</s> add import AsyncStorage from '@react-native-async-storage/async-storage'; </s> remove import AsyncStorage from '@react-native-community/async-storage';
</s> add import AsyncStorage from '@react-native-async-storage/async-storage'; </s> remove import AsyncStorage from '@react-native-community/async-storage';
</s> add import AsyncStorage from '@react-native-async-storage/async-storage';
|
https://github.com/expo/expo/commit/62e101d23ffd1362559a67b78f7dd4cdf1da4c5d
|
home/api/__tests__/ApiV2HttpClient-test.js
|
keep keep keep replace keep keep keep keep keep
|
<mask> import gql from 'graphql-tag';
<mask> import uuid from 'uuid';
<mask>
<mask> jest.mock('@react-native-community/async-storage', () => ({
<mask> setItem: jest.fn(() => new Promise(resolve => resolve(null))),
<mask> getItem: jest.fn(() => new Promise(resolve => resolve(null))),
<mask> removeItem: jest.fn(() => new Promise(resolve => resolve(null))),
<mask> }));
<mask>
</s> [home] Fix references to @react-native-community/async-storage </s> remove jest.mock('@react-native-community/async-storage', () => ({}));
</s> add jest.mock('@react-native-async-storage/async-storage', () => ({})); </s> remove import AsyncStorage from '@react-native-community/async-storage';
</s> add import AsyncStorage from '@react-native-async-storage/async-storage'; </s> remove import AsyncStorage from '@react-native-community/async-storage';
</s> add import AsyncStorage from '@react-native-async-storage/async-storage'; </s> remove import AsyncStorage from '@react-native-community/async-storage';
</s> add import AsyncStorage from '@react-native-async-storage/async-storage';
|
https://github.com/expo/expo/commit/62e101d23ffd1362559a67b78f7dd4cdf1da4c5d
|
home/api/__tests__/AuthSessions-test.js
|
replace keep keep keep keep keep
|
<mask> import AsyncStorage from '@react-native-community/async-storage';
<mask>
<mask> const STORAGE_PREFIX = '@@expo@@';
<mask>
<mask> /**
<mask> * A mock implementation of the native kernel module that can be used when loading Home as a regular
</s> [home] Fix references to @react-native-community/async-storage </s> remove import AsyncStorage from '@react-native-community/async-storage';
</s> add import AsyncStorage from '@react-native-async-storage/async-storage'; </s> remove import AsyncStorage from '@react-native-community/async-storage';
</s> add import AsyncStorage from '@react-native-async-storage/async-storage'; </s> remove jest.mock('@react-native-community/async-storage', () => ({}));
</s> add jest.mock('@react-native-async-storage/async-storage', () => ({})); </s> remove jest.mock('@react-native-community/async-storage', () => ({
</s> add jest.mock('@react-native-async-storage/async-storage', () => ({
|
https://github.com/expo/expo/commit/62e101d23ffd1362559a67b78f7dd4cdf1da4c5d
|
home/kernel/MockKernel.ts
|
keep replace keep keep keep keep keep
|
<mask> import { FontAwesome, MaterialIcons } from '@expo/vector-icons';
<mask> import AsyncStorage from '@react-native-community/async-storage';
<mask> import * as Location from 'expo-location';
<mask> import * as Permissions from 'expo-permissions';
<mask> import * as TaskManager from 'expo-task-manager';
<mask> import { EventEmitter, EventSubscription } from 'fbemitter';
<mask> import * as React from 'react';
</s> [home] Fix references to @react-native-community/async-storage </s> remove import AsyncStorage from '@react-native-community/async-storage';
</s> add import AsyncStorage from '@react-native-async-storage/async-storage'; </s> remove import AsyncStorage from '@react-native-community/async-storage';
</s> add import AsyncStorage from '@react-native-async-storage/async-storage'; </s> remove jest.mock('@react-native-community/async-storage', () => ({
</s> add jest.mock('@react-native-async-storage/async-storage', () => ({ </s> remove jest.mock('@react-native-community/async-storage', () => ({}));
</s> add jest.mock('@react-native-async-storage/async-storage', () => ({}));
|
https://github.com/expo/expo/commit/62e101d23ffd1362559a67b78f7dd4cdf1da4c5d
|
home/screens/LocationDiagnosticsScreen.tsx
|
replace keep keep keep keep keep
|
<mask> import AsyncStorage from '@react-native-community/async-storage';
<mask> import mapValues from 'lodash/mapValues';
<mask>
<mask> import * as Kernel from '../kernel/Kernel';
<mask> import addListenerWithNativeCallback from '../utils/addListenerWithNativeCallback';
<mask>
</s> [home] Fix references to @react-native-community/async-storage </s> remove import AsyncStorage from '@react-native-community/async-storage';
</s> add import AsyncStorage from '@react-native-async-storage/async-storage'; </s> remove import AsyncStorage from '@react-native-community/async-storage';
</s> add import AsyncStorage from '@react-native-async-storage/async-storage'; </s> remove jest.mock('@react-native-community/async-storage', () => ({
</s> add jest.mock('@react-native-async-storage/async-storage', () => ({ </s> remove jest.mock('@react-native-community/async-storage', () => ({}));
</s> add jest.mock('@react-native-async-storage/async-storage', () => ({}));
|
https://github.com/expo/expo/commit/62e101d23ffd1362559a67b78f7dd4cdf1da4c5d
|
home/storage/LocalStorage.ts
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> mavenCentral()
<mask> }
<mask>
<mask> dependencies {
<mask> classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
<mask> }
<mask> }
<mask> apply plugin: 'com.android.application'
<mask> apply plugin: 'kotlin-android'
<mask>
</s> [android] Upgrade kotlin in all libraries (#15566) </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}"
|
https://github.com/expo/expo/commit/65463262f85f607c32cdc72952c4b37f313da15f
|
android/app/build.gradle
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> implementation fileTree(dir: 'libs', include: ['*.jar'])
<mask>
<mask> implementation 'androidx.multidex:multidex:2.0.0'
<mask>
<mask> implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
<mask>
<mask> // Our dependencies
<mask> implementation 'androidx.appcompat:appcompat:1.2.0'
<mask>
<mask> // Our dependencies from ExpoView
</s> [android] Upgrade kotlin in all libraries (#15566) </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}")
|
https://github.com/expo/expo/commit/65463262f85f607c32cdc72952c4b37f313da15f
|
android/app/build.gradle
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> mavenCentral()
<mask> }
<mask>
<mask> dependencies {
<mask> classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
<mask> }
<mask> }
<mask>
<mask> // Upload android library to maven with javadoc and android sources
<mask> configurations {
</s> [android] Upgrade kotlin in all libraries (#15566) </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}"
|
https://github.com/expo/expo/commit/65463262f85f607c32cdc72952c4b37f313da15f
|
packages/expo-intent-launcher/android/build.gradle
|
keep keep keep keep replace keep
|
<mask> implementation project(':expo-modules-core')
<mask>
<mask> api "androidx.annotation:annotation:1.0.0"
<mask>
<mask> implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
<mask> }
</s> [android] Upgrade kotlin in all libraries (#15566) </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}")
|
https://github.com/expo/expo/commit/65463262f85f607c32cdc72952c4b37f313da15f
|
packages/expo-intent-launcher/android/build.gradle
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> mavenCentral()
<mask> }
<mask>
<mask> dependencies {
<mask> classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
<mask> }
<mask> }
<mask>
<mask> // Upload android library to maven with javadoc and android sources
<mask> configurations {
</s> [android] Upgrade kotlin in all libraries (#15566)
|
https://github.com/expo/expo/commit/65463262f85f607c32cdc72952c4b37f313da15f
|
packages/expo-json-utils/android/build.gradle
|
keep keep keep keep replace keep keep keep keep
|
<mask> androidTestImplementation 'androidx.test:rules:1.1.0'
<mask> androidTestImplementation 'org.mockito:mockito-android:3.7.7'
<mask> androidTestImplementation 'io.mockk:mockk-android:1.10.6'
<mask>
<mask> implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
<mask> }
<mask> repositories {
<mask> mavenCentral()
<mask> }
</s> [android] Upgrade kotlin in all libraries (#15566) </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}")
|
https://github.com/expo/expo/commit/65463262f85f607c32cdc72952c4b37f313da15f
|
packages/expo-json-utils/android/build.gradle
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> mavenCentral()
<mask> }
<mask>
<mask> dependencies {
<mask> classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
<mask> }
<mask> }
<mask>
<mask> // Upload android library to maven with javadoc and android sources
<mask> configurations {
</s> [android] Upgrade kotlin in all libraries (#15566)
|
https://github.com/expo/expo/commit/65463262f85f607c32cdc72952c4b37f313da15f
|
packages/expo-keep-awake/android/build.gradle
|
keep keep keep keep replace keep
|
<mask>
<mask> dependencies {
<mask> implementation project(':expo-modules-core')
<mask>
<mask> implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
<mask> }
</s> [android] Upgrade kotlin in all libraries (#15566) </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
</s> add implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.6.10')}" </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}") </s> remove classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
</s> add classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.6.10')}")
|
https://github.com/expo/expo/commit/65463262f85f607c32cdc72952c4b37f313da15f
|
packages/expo-keep-awake/android/build.gradle
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> mavenCentral()
<mask> }
<mask>
<mask> dependencies {
<mask> classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
<mask> }
<mask> }
<mask>
<mask> // Upload android library to maven with javadoc and android sources
<mask> configurations {
</s> [android] Upgrade kotlin in all libraries (#15566)
|
https://github.com/expo/expo/commit/65463262f85f607c32cdc72952c4b37f313da15f
|
packages/expo-linear-gradient/android/build.gradle
|
keep keep keep keep replace keep
|
<mask>
<mask> dependencies {
<mask> implementation project(':expo-modules-core')
<mask>
<mask> implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
<mask> }
</s> [android] Upgrade kotlin in all libraries (#15566)
|
https://github.com/expo/expo/commit/65463262f85f607c32cdc72952c4b37f313da15f
|
packages/expo-linear-gradient/android/build.gradle
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> mavenCentral()
<mask> }
<mask>
<mask> dependencies {
<mask> classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.21')}")
<mask> }
<mask> }
<mask>
<mask> // Upload android library to maven with javadoc and android sources
<mask> configurations {
</s> [android] Upgrade kotlin in all libraries (#15566)
|
https://github.com/expo/expo/commit/65463262f85f607c32cdc72952c4b37f313da15f
|
packages/expo-local-authentication/android/build.gradle
|
keep keep keep add keep keep keep keep
|
<mask> BUILD_SETTINGS_CHECKSUM:
<mask> EXNotifications: 42083d7be3b81dc87f399732a97ebffe
<mask> CHECKSUM: d654494e84df90927cca410ebac178c61553647b
<mask> FILES:
<mask> - "../../../../packages/expo-notifications/ios/EXNotifications/EXPushTokenListener.h"
<mask> - "../../../../packages/expo-notifications/ios/EXNotifications/EXPushTokenManager.h"
<mask> - "../../../../packages/expo-notifications/ios/EXNotifications/EXPushTokenManager.m"
<mask> - "../../../../packages/expo-notifications/ios/EXNotifications/EXPushTokenModule.h"
</s> [expo-notifications] Add private InstallationIdProvider (#6749)
# Why
To be able to register at Expo server we need to identify the device with a UUID.
# How
Implemented a non-exported module which:
- uses the same storage as kernel does for the UUID (in native, on web uses `localStorage`)
- if the ID is missing, it generates and saves a new one.
# Test Plan
None yet, implementing `getExpoPushTokenAsync` will be a test for this module. </s> remove return Collections.singletonList((ExportedModule) new PushTokenModule(context));
</s> add return Arrays.asList(
new PushTokenModule(context),
new InstallationIdProvider(context)
); </s> remove 09C0CF8D1357A2747F9FD31AD960F5A7 /* Headers */ = {
</s> add 86FEEB3F4E6A504C3549ECD450B34006 /* Headers */ = { </s> remove name = EXNotifications;
path = "../../../../packages/expo-notifications/ios";
</s> add name = Frameworks; </s> remove C4889B8D11F43B40986F975FE4262907 /* EXPushTokenListener.h */,
EA3B3488E0B12AA023AC3DB7A77A65ED /* EXPushTokenManager.h */,
733042F9597C31BCE53FD75EFF73F52E /* EXPushTokenManager.m */,
736825122FE005F2F529ED1F4D6ACDCE /* EXPushTokenModule.h */,
60637594D8ABDAA802B620C019A49330 /* EXPushTokenModule.m */,
22BDFFED547112B9D1C62B5484945963 /* Pod */,
A594F26887607F0F6E6DC63A8503C80B /* Support Files */,
</s> add </s> remove CF7FF0EB26DABE36657A6655A1A49E87 /* EXNotifications */ = {
</s> add CCE96D56F43E72270B9F3BEC1866196F /* Frameworks */ = { </s> remove name = Frameworks;
</s> add name = Pod;
|
https://github.com/expo/expo/commit/6650ec60d7fa4acc9b9ef509274350a1def727a0
|
apps/bare-expo/ios/Pods/.project_cache/installation_cache.yaml
|
keep keep replace replace replace replace replace replace keep keep keep replace keep keep keep keep
|
<mask>
<mask> /* Begin PBXBuildFile section */
<mask> 031E0786AE7DA5012377EEA2E4DDCA9D /* EXNotifications-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 97F761B442D5FD846C53C2082656EF00 /* EXNotifications-dummy.m */; };
<mask> 13AA2027AA62EA38846BF6CC06D15019 /* EXPushTokenManager.h in Headers */ = {isa = PBXBuildFile; fileRef = EA3B3488E0B12AA023AC3DB7A77A65ED /* EXPushTokenManager.h */; settings = {ATTRIBUTES = (Project, ); }; };
<mask> 17BB77DD1F219711788D64C3F8EE7ED0 /* EXPushTokenListener.h in Headers */ = {isa = PBXBuildFile; fileRef = C4889B8D11F43B40986F975FE4262907 /* EXPushTokenListener.h */; settings = {ATTRIBUTES = (Project, ); }; };
<mask> 7FD62BE25AB9D99451855741E2005DC6 /* EXPushTokenManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 733042F9597C31BCE53FD75EFF73F52E /* EXPushTokenManager.m */; };
<mask> A6985ACD9FBE244E9C4C2D100CE1CDC2 /* EXPushTokenModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 60637594D8ABDAA802B620C019A49330 /* EXPushTokenModule.m */; };
<mask> AB6756E5B35914AA056E4D24ED7531B4 /* EXPushTokenModule.h in Headers */ = {isa = PBXBuildFile; fileRef = 736825122FE005F2F529ED1F4D6ACDCE /* EXPushTokenModule.h */; settings = {ATTRIBUTES = (Project, ); }; };
<mask> /* End PBXBuildFile section */
<mask>
<mask> /* Begin PBXContainerItemProxy section */
<mask> 230B559F9E34EDC587CA27438564E946 /* PBXContainerItemProxy */ = {
<mask> isa = PBXContainerItemProxy;
<mask> containerPortal = 6B4054ABD2AFCAF4186CB91DD1245387 /* UMCore.xcodeproj */;
<mask> proxyType = 1;
<mask> remoteGlobalIDString = 153171642F5C5CBC05FD3EF6B23A3F36;
</s> [expo-notifications] Add private InstallationIdProvider (#6749)
# Why
To be able to register at Expo server we need to identify the device with a UUID.
# How
Implemented a non-exported module which:
- uses the same storage as kernel does for the UUID (in native, on web uses `localStorage`)
- if the ID is missing, it generates and saves a new one.
# Test Plan
None yet, implementing `getExpoPushTokenAsync` will be a test for this module. </s> remove 031E0786AE7DA5012377EEA2E4DDCA9D /* EXNotifications-dummy.m in Sources */,
7FD62BE25AB9D99451855741E2005DC6 /* EXPushTokenManager.m in Sources */,
A6985ACD9FBE244E9C4C2D100CE1CDC2 /* EXPushTokenModule.m in Sources */,
</s> add BB08E145B17AAB8A85151BE2DCB178A3 /* EXInstallationIdProvider.m in Sources */,
669DEBFB9DE0B478C36B576FC717EA6B /* EXNotifications-dummy.m in Sources */,
75718CEB151A16F616F1D90458B305DA /* EXPushTokenManager.m in Sources */,
032DAD8D5FE3ED55AAE6C58DF9FA1DDD /* EXPushTokenModule.m in Sources */, </s> remove 17BB77DD1F219711788D64C3F8EE7ED0 /* EXPushTokenListener.h in Headers */,
13AA2027AA62EA38846BF6CC06D15019 /* EXPushTokenManager.h in Headers */,
AB6756E5B35914AA056E4D24ED7531B4 /* EXPushTokenModule.h in Headers */,
</s> add 7DE7A8D680D29A8A76F16A9FBA76469E /* EXInstallationIdProvider.h in Headers */,
BD4083D094116265EA110DA858E24185 /* EXPushTokenListener.h in Headers */,
602F7BD9621C2C22ABDF3C5FD2F7D260 /* EXPushTokenManager.h in Headers */,
2B9821086B76016D7DB5D49DC2EBF301 /* EXPushTokenModule.h in Headers */, </s> remove 85E426ED953D87F859EB811194B979A0 /* Sources */ = {
</s> add 193BD917DA085E2BEB5CA6C4DC743F93 /* Sources */ = { </s> remove 09C0CF8D1357A2747F9FD31AD960F5A7 /* Headers */ = {
</s> add 86FEEB3F4E6A504C3549ECD450B34006 /* Headers */ = { </s> remove 1E0C15E3A464A48CE07C5530547F8674 /* EXNotifications.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = EXNotifications.xcconfig; sourceTree = "<group>"; };
60637594D8ABDAA802B620C019A49330 /* EXPushTokenModule.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPushTokenModule.m; path = EXNotifications/EXPushTokenModule.m; sourceTree = "<group>"; };
686AC224CB480A164AD980F32DF0507A /* EXNotifications.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = EXNotifications.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
</s> add 2FFF06A53529F34FC7C6CE629548257B /* EXNotifications.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = EXNotifications.xcconfig; sourceTree = "<group>"; };
3A70F3C164079075AC2158FDEBC9DE51 /* EXPushTokenManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPushTokenManager.h; path = EXNotifications/EXPushTokenManager.h; sourceTree = "<group>"; };
523E6B702446705783463EF095A3AA0D /* EXPushTokenModule.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPushTokenModule.h; path = EXNotifications/EXPushTokenModule.h; sourceTree = "<group>"; };
|
https://github.com/expo/expo/commit/6650ec60d7fa4acc9b9ef509274350a1def727a0
|
apps/bare-expo/ios/Pods/EXNotifications.xcodeproj/project.pbxproj
|
keep keep keep replace replace replace keep replace replace replace
|
<mask> /* End PBXContainerItemProxy section */
<mask>
<mask> /* Begin PBXFileReference section */
<mask> 1E0C15E3A464A48CE07C5530547F8674 /* EXNotifications.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = EXNotifications.xcconfig; sourceTree = "<group>"; };
<mask> 60637594D8ABDAA802B620C019A49330 /* EXPushTokenModule.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPushTokenModule.m; path = EXNotifications/EXPushTokenModule.m; sourceTree = "<group>"; };
<mask> 686AC224CB480A164AD980F32DF0507A /* EXNotifications.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = EXNotifications.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
<mask> 6B4054ABD2AFCAF4186CB91DD1245387 /* UMCore */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = UMCore; path = UMCore.xcodeproj; sourceTree = "<group>"; };
<mask> 733042F9597C31BCE53FD75EFF73F52E /* EXPushTokenManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPushTokenManager.m; path = EXNotifications/EXPushTokenManager.m; sourceTree = "<group>"; };
<mask> 736825122FE005F2F529ED1F4D6ACDCE /* EXPushTokenModule.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPushTokenModule.h; path = EXNotifications/EXPushTokenModule.h; sourceTree = "<group>"; };
<mask> 97F761B442D5FD846C53C2082656EF00 /* EXNotifications-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "EXNotifications-dummy.m"; sourceTree = "<group>"; };
</s> [expo-notifications] Add private InstallationIdProvider (#6749)
# Why
To be able to register at Expo server we need to identify the device with a UUID.
# How
Implemented a non-exported module which:
- uses the same storage as kernel does for the UUID (in native, on web uses `localStorage`)
- if the ID is missing, it generates and saves a new one.
# Test Plan
None yet, implementing `getExpoPushTokenAsync` will be a test for this module. </s> remove C4889B8D11F43B40986F975FE4262907 /* EXPushTokenListener.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPushTokenListener.h; path = EXNotifications/EXPushTokenListener.h; sourceTree = "<group>"; };
E246387DCE73F6475A2EEB6CA97169EE /* EXNotifications-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "EXNotifications-prefix.pch"; sourceTree = "<group>"; };
EA3B3488E0B12AA023AC3DB7A77A65ED /* EXPushTokenManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPushTokenManager.h; path = EXNotifications/EXPushTokenManager.h; sourceTree = "<group>"; };
</s> add B9F5A9BB154B52AD2D485F5DB9EF5828 /* EXPushTokenModule.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPushTokenModule.m; path = EXNotifications/EXPushTokenModule.m; sourceTree = "<group>"; };
D4159ADB2CC18A0C3748BEDAF6CAD952 /* EXPushTokenManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPushTokenManager.m; path = EXNotifications/EXPushTokenManager.m; sourceTree = "<group>"; };
D8389134FA92316D1EFC469D8EACD104 /* EXNotifications-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "EXNotifications-dummy.m"; sourceTree = "<group>"; };
EF7BB141B2982163DDB1D3B8862E1C3B /* EXNotifications.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = EXNotifications.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
F08E3CC7D0005C33BFDD52B86B7D59D1 /* EXPushTokenListener.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPushTokenListener.h; path = EXNotifications/EXPushTokenListener.h; sourceTree = "<group>"; };
F23C9D736F240520B18131B4A6A970AC /* EXInstallationIdProvider.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXInstallationIdProvider.m; path = EXNotifications/EXInstallationIdProvider.m; sourceTree = "<group>"; }; </s> remove 16C2569AEF74FEE07FC31E849CE8A5DD /* Frameworks */ = {
</s> add 2664CFD1F2D0B2788473ADB79C86FA17 /* Frameworks */ = { </s> remove 230B559F9E34EDC587CA27438564E946 /* PBXContainerItemProxy */ = {
</s> add 63254E6C0ED3EF3463AFAA161F530444 /* PBXContainerItemProxy */ = { </s> remove 031E0786AE7DA5012377EEA2E4DDCA9D /* EXNotifications-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 97F761B442D5FD846C53C2082656EF00 /* EXNotifications-dummy.m */; };
13AA2027AA62EA38846BF6CC06D15019 /* EXPushTokenManager.h in Headers */ = {isa = PBXBuildFile; fileRef = EA3B3488E0B12AA023AC3DB7A77A65ED /* EXPushTokenManager.h */; settings = {ATTRIBUTES = (Project, ); }; };
17BB77DD1F219711788D64C3F8EE7ED0 /* EXPushTokenListener.h in Headers */ = {isa = PBXBuildFile; fileRef = C4889B8D11F43B40986F975FE4262907 /* EXPushTokenListener.h */; settings = {ATTRIBUTES = (Project, ); }; };
7FD62BE25AB9D99451855741E2005DC6 /* EXPushTokenManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 733042F9597C31BCE53FD75EFF73F52E /* EXPushTokenManager.m */; };
A6985ACD9FBE244E9C4C2D100CE1CDC2 /* EXPushTokenModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 60637594D8ABDAA802B620C019A49330 /* EXPushTokenModule.m */; };
AB6756E5B35914AA056E4D24ED7531B4 /* EXPushTokenModule.h in Headers */ = {isa = PBXBuildFile; fileRef = 736825122FE005F2F529ED1F4D6ACDCE /* EXPushTokenModule.h */; settings = {ATTRIBUTES = (Project, ); }; };
</s> add 032DAD8D5FE3ED55AAE6C58DF9FA1DDD /* EXPushTokenModule.m in Sources */ = {isa = PBXBuildFile; fileRef = B9F5A9BB154B52AD2D485F5DB9EF5828 /* EXPushTokenModule.m */; };
2B9821086B76016D7DB5D49DC2EBF301 /* EXPushTokenModule.h in Headers */ = {isa = PBXBuildFile; fileRef = 523E6B702446705783463EF095A3AA0D /* EXPushTokenModule.h */; settings = {ATTRIBUTES = (Project, ); }; };
602F7BD9621C2C22ABDF3C5FD2F7D260 /* EXPushTokenManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 3A70F3C164079075AC2158FDEBC9DE51 /* EXPushTokenManager.h */; settings = {ATTRIBUTES = (Project, ); }; };
669DEBFB9DE0B478C36B576FC717EA6B /* EXNotifications-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D8389134FA92316D1EFC469D8EACD104 /* EXNotifications-dummy.m */; };
75718CEB151A16F616F1D90458B305DA /* EXPushTokenManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D4159ADB2CC18A0C3748BEDAF6CAD952 /* EXPushTokenManager.m */; };
7DE7A8D680D29A8A76F16A9FBA76469E /* EXInstallationIdProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = AB3B54A54086A31FBE64A5414BDE21FE /* EXInstallationIdProvider.h */; settings = {ATTRIBUTES = (Project, ); }; };
BB08E145B17AAB8A85151BE2DCB178A3 /* EXInstallationIdProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = F23C9D736F240520B18131B4A6A970AC /* EXInstallationIdProvider.m */; };
BD4083D094116265EA110DA858E24185 /* EXPushTokenListener.h in Headers */ = {isa = PBXBuildFile; fileRef = F08E3CC7D0005C33BFDD52B86B7D59D1 /* EXPushTokenListener.h */; settings = {ATTRIBUTES = (Project, ); }; }; </s> remove CCE96D56F43E72270B9F3BEC1866196F /* Frameworks */ = {
</s> add C55B625FEEA2DBB69EC5E0F618F05044 /* Pod */ = {
|
https://github.com/expo/expo/commit/6650ec60d7fa4acc9b9ef509274350a1def727a0
|
apps/bare-expo/ios/Pods/EXNotifications.xcodeproj/project.pbxproj
|
keep replace replace replace keep keep keep replace keep keep keep
|
<mask> AB4F468E1EA9333F76F8937368ACD772 /* libEXNotifications.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libEXNotifications.a; path = libEXNotifications.a; sourceTree = BUILT_PRODUCTS_DIR; };
<mask> C4889B8D11F43B40986F975FE4262907 /* EXPushTokenListener.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPushTokenListener.h; path = EXNotifications/EXPushTokenListener.h; sourceTree = "<group>"; };
<mask> E246387DCE73F6475A2EEB6CA97169EE /* EXNotifications-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "EXNotifications-prefix.pch"; sourceTree = "<group>"; };
<mask> EA3B3488E0B12AA023AC3DB7A77A65ED /* EXPushTokenManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPushTokenManager.h; path = EXNotifications/EXPushTokenManager.h; sourceTree = "<group>"; };
<mask> /* End PBXFileReference section */
<mask>
<mask> /* Begin PBXFrameworksBuildPhase section */
<mask> 16C2569AEF74FEE07FC31E849CE8A5DD /* Frameworks */ = {
<mask> isa = PBXFrameworksBuildPhase;
<mask> buildActionMask = 2147483647;
<mask> files = (
</s> [expo-notifications] Add private InstallationIdProvider (#6749)
# Why
To be able to register at Expo server we need to identify the device with a UUID.
# How
Implemented a non-exported module which:
- uses the same storage as kernel does for the UUID (in native, on web uses `localStorage`)
- if the ID is missing, it generates and saves a new one.
# Test Plan
None yet, implementing `getExpoPushTokenAsync` will be a test for this module. </s> remove 733042F9597C31BCE53FD75EFF73F52E /* EXPushTokenManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPushTokenManager.m; path = EXNotifications/EXPushTokenManager.m; sourceTree = "<group>"; };
736825122FE005F2F529ED1F4D6ACDCE /* EXPushTokenModule.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPushTokenModule.h; path = EXNotifications/EXPushTokenModule.h; sourceTree = "<group>"; };
97F761B442D5FD846C53C2082656EF00 /* EXNotifications-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "EXNotifications-dummy.m"; sourceTree = "<group>"; };
</s> add 83CF5148131DF96037829EB605DE001B /* EXNotifications-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "EXNotifications-prefix.pch"; sourceTree = "<group>"; };
AB3B54A54086A31FBE64A5414BDE21FE /* EXInstallationIdProvider.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXInstallationIdProvider.h; path = EXNotifications/EXInstallationIdProvider.h; sourceTree = "<group>"; }; </s> remove 1E0C15E3A464A48CE07C5530547F8674 /* EXNotifications.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = EXNotifications.xcconfig; sourceTree = "<group>"; };
60637594D8ABDAA802B620C019A49330 /* EXPushTokenModule.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPushTokenModule.m; path = EXNotifications/EXPushTokenModule.m; sourceTree = "<group>"; };
686AC224CB480A164AD980F32DF0507A /* EXNotifications.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = EXNotifications.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
</s> add 2FFF06A53529F34FC7C6CE629548257B /* EXNotifications.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = EXNotifications.xcconfig; sourceTree = "<group>"; };
3A70F3C164079075AC2158FDEBC9DE51 /* EXPushTokenManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPushTokenManager.h; path = EXNotifications/EXPushTokenManager.h; sourceTree = "<group>"; };
523E6B702446705783463EF095A3AA0D /* EXPushTokenModule.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPushTokenModule.h; path = EXNotifications/EXPushTokenModule.h; sourceTree = "<group>"; }; </s> remove 031E0786AE7DA5012377EEA2E4DDCA9D /* EXNotifications-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 97F761B442D5FD846C53C2082656EF00 /* EXNotifications-dummy.m */; };
13AA2027AA62EA38846BF6CC06D15019 /* EXPushTokenManager.h in Headers */ = {isa = PBXBuildFile; fileRef = EA3B3488E0B12AA023AC3DB7A77A65ED /* EXPushTokenManager.h */; settings = {ATTRIBUTES = (Project, ); }; };
17BB77DD1F219711788D64C3F8EE7ED0 /* EXPushTokenListener.h in Headers */ = {isa = PBXBuildFile; fileRef = C4889B8D11F43B40986F975FE4262907 /* EXPushTokenListener.h */; settings = {ATTRIBUTES = (Project, ); }; };
7FD62BE25AB9D99451855741E2005DC6 /* EXPushTokenManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 733042F9597C31BCE53FD75EFF73F52E /* EXPushTokenManager.m */; };
A6985ACD9FBE244E9C4C2D100CE1CDC2 /* EXPushTokenModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 60637594D8ABDAA802B620C019A49330 /* EXPushTokenModule.m */; };
AB6756E5B35914AA056E4D24ED7531B4 /* EXPushTokenModule.h in Headers */ = {isa = PBXBuildFile; fileRef = 736825122FE005F2F529ED1F4D6ACDCE /* EXPushTokenModule.h */; settings = {ATTRIBUTES = (Project, ); }; };
</s> add 032DAD8D5FE3ED55AAE6C58DF9FA1DDD /* EXPushTokenModule.m in Sources */ = {isa = PBXBuildFile; fileRef = B9F5A9BB154B52AD2D485F5DB9EF5828 /* EXPushTokenModule.m */; };
2B9821086B76016D7DB5D49DC2EBF301 /* EXPushTokenModule.h in Headers */ = {isa = PBXBuildFile; fileRef = 523E6B702446705783463EF095A3AA0D /* EXPushTokenModule.h */; settings = {ATTRIBUTES = (Project, ); }; };
602F7BD9621C2C22ABDF3C5FD2F7D260 /* EXPushTokenManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 3A70F3C164079075AC2158FDEBC9DE51 /* EXPushTokenManager.h */; settings = {ATTRIBUTES = (Project, ); }; };
669DEBFB9DE0B478C36B576FC717EA6B /* EXNotifications-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D8389134FA92316D1EFC469D8EACD104 /* EXNotifications-dummy.m */; };
75718CEB151A16F616F1D90458B305DA /* EXPushTokenManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D4159ADB2CC18A0C3748BEDAF6CAD952 /* EXPushTokenManager.m */; };
7DE7A8D680D29A8A76F16A9FBA76469E /* EXInstallationIdProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = AB3B54A54086A31FBE64A5414BDE21FE /* EXInstallationIdProvider.h */; settings = {ATTRIBUTES = (Project, ); }; };
BB08E145B17AAB8A85151BE2DCB178A3 /* EXInstallationIdProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = F23C9D736F240520B18131B4A6A970AC /* EXInstallationIdProvider.m */; };
BD4083D094116265EA110DA858E24185 /* EXPushTokenListener.h in Headers */ = {isa = PBXBuildFile; fileRef = F08E3CC7D0005C33BFDD52B86B7D59D1 /* EXPushTokenListener.h */; settings = {ATTRIBUTES = (Project, ); }; }; </s> remove 230B559F9E34EDC587CA27438564E946 /* PBXContainerItemProxy */ = {
</s> add 63254E6C0ED3EF3463AFAA161F530444 /* PBXContainerItemProxy */ = { </s> remove CCE96D56F43E72270B9F3BEC1866196F /* Frameworks */ = {
</s> add C55B625FEEA2DBB69EC5E0F618F05044 /* Pod */ = {
|
https://github.com/expo/expo/commit/6650ec60d7fa4acc9b9ef509274350a1def727a0
|
apps/bare-expo/ios/Pods/EXNotifications.xcodeproj/project.pbxproj
|
keep keep keep keep replace keep keep keep keep keep
|
<mask> 13F8C991E3E04DEA0BE15C158F3C5F7E = {
<mask> isa = PBXGroup;
<mask> children = (
<mask> DE5C7B94E024D27CF89F5138081ED80B /* Dependencies */,
<mask> CF7FF0EB26DABE36657A6655A1A49E87 /* EXNotifications */,
<mask> CCE96D56F43E72270B9F3BEC1866196F /* Frameworks */,
<mask> 11C75FA9F6E7BD19025CAA04B578E04E /* Products */,
<mask> );
<mask> sourceTree = "<group>";
<mask> };
</s> [expo-notifications] Add private InstallationIdProvider (#6749)
# Why
To be able to register at Expo server we need to identify the device with a UUID.
# How
Implemented a non-exported module which:
- uses the same storage as kernel does for the UUID (in native, on web uses `localStorage`)
- if the ID is missing, it generates and saves a new one.
# Test Plan
None yet, implementing `getExpoPushTokenAsync` will be a test for this module. </s> remove name = Frameworks;
</s> add name = Pod; </s> remove 22BDFFED547112B9D1C62B5484945963 /* Pod */ = {
</s> add 33E7185C5F058161914FDC3F50821F9F /* EXNotifications */ = { </s> remove CF7FF0EB26DABE36657A6655A1A49E87 /* EXNotifications */ = {
</s> add CCE96D56F43E72270B9F3BEC1866196F /* Frameworks */ = { </s> remove name = EXNotifications;
path = "../../../../packages/expo-notifications/ios";
</s> add name = Frameworks; </s> remove CCE96D56F43E72270B9F3BEC1866196F /* Frameworks */ = {
</s> add C55B625FEEA2DBB69EC5E0F618F05044 /* Pod */ = { </s> remove C4889B8D11F43B40986F975FE4262907 /* EXPushTokenListener.h */,
EA3B3488E0B12AA023AC3DB7A77A65ED /* EXPushTokenManager.h */,
733042F9597C31BCE53FD75EFF73F52E /* EXPushTokenManager.m */,
736825122FE005F2F529ED1F4D6ACDCE /* EXPushTokenModule.h */,
60637594D8ABDAA802B620C019A49330 /* EXPushTokenModule.m */,
22BDFFED547112B9D1C62B5484945963 /* Pod */,
A594F26887607F0F6E6DC63A8503C80B /* Support Files */,
</s> add
|
https://github.com/expo/expo/commit/6650ec60d7fa4acc9b9ef509274350a1def727a0
|
apps/bare-expo/ios/Pods/EXNotifications.xcodeproj/project.pbxproj
|
keep replace keep keep replace
|
<mask> };
<mask> 22BDFFED547112B9D1C62B5484945963 /* Pod */ = {
<mask> isa = PBXGroup;
<mask> children = (
<mask> 686AC224CB480A164AD980F32DF0507A /* EXNotifications.podspec */,
</s> [expo-notifications] Add private InstallationIdProvider (#6749)
# Why
To be able to register at Expo server we need to identify the device with a UUID.
# How
Implemented a non-exported module which:
- uses the same storage as kernel does for the UUID (in native, on web uses `localStorage`)
- if the ID is missing, it generates and saves a new one.
# Test Plan
None yet, implementing `getExpoPushTokenAsync` will be a test for this module. </s> remove name = Pod;
</s> add name = EXNotifications;
path = "../../../../packages/expo-notifications/ios"; </s> add EF7BB141B2982163DDB1D3B8862E1C3B /* EXNotifications.podspec */, </s> remove name = EXNotifications;
path = "../../../../packages/expo-notifications/ios";
</s> add name = Frameworks; </s> remove C4889B8D11F43B40986F975FE4262907 /* EXPushTokenListener.h */,
EA3B3488E0B12AA023AC3DB7A77A65ED /* EXPushTokenManager.h */,
733042F9597C31BCE53FD75EFF73F52E /* EXPushTokenManager.m */,
736825122FE005F2F529ED1F4D6ACDCE /* EXPushTokenModule.h */,
60637594D8ABDAA802B620C019A49330 /* EXPushTokenModule.m */,
22BDFFED547112B9D1C62B5484945963 /* Pod */,
A594F26887607F0F6E6DC63A8503C80B /* Support Files */,
</s> add </s> remove CCE96D56F43E72270B9F3BEC1866196F /* Frameworks */ = {
</s> add C55B625FEEA2DBB69EC5E0F618F05044 /* Pod */ = {
|
https://github.com/expo/expo/commit/6650ec60d7fa4acc9b9ef509274350a1def727a0
|
apps/bare-expo/ios/Pods/EXNotifications.xcodeproj/project.pbxproj
|
keep keep keep keep replace keep keep replace keep keep
|
<mask> isa = PBXGroup;
<mask> children = (
<mask> 686AC224CB480A164AD980F32DF0507A /* EXNotifications.podspec */,
<mask> );
<mask> name = Pod;
<mask> sourceTree = "<group>";
<mask> };
<mask> A594F26887607F0F6E6DC63A8503C80B /* Support Files */ = {
<mask> isa = PBXGroup;
<mask> children = (
</s> [expo-notifications] Add private InstallationIdProvider (#6749)
# Why
To be able to register at Expo server we need to identify the device with a UUID.
# How
Implemented a non-exported module which:
- uses the same storage as kernel does for the UUID (in native, on web uses `localStorage`)
- if the ID is missing, it generates and saves a new one.
# Test Plan
None yet, implementing `getExpoPushTokenAsync` will be a test for this module. </s> remove 686AC224CB480A164AD980F32DF0507A /* EXNotifications.podspec */,
</s> add AB3B54A54086A31FBE64A5414BDE21FE /* EXInstallationIdProvider.h */,
F23C9D736F240520B18131B4A6A970AC /* EXInstallationIdProvider.m */,
F08E3CC7D0005C33BFDD52B86B7D59D1 /* EXPushTokenListener.h */,
3A70F3C164079075AC2158FDEBC9DE51 /* EXPushTokenManager.h */,
D4159ADB2CC18A0C3748BEDAF6CAD952 /* EXPushTokenManager.m */,
523E6B702446705783463EF095A3AA0D /* EXPushTokenModule.h */,
B9F5A9BB154B52AD2D485F5DB9EF5828 /* EXPushTokenModule.m */,
C55B625FEEA2DBB69EC5E0F618F05044 /* Pod */,
BF527650578DFB2D1FABFA368EE5C5BF /* Support Files */, </s> remove 22BDFFED547112B9D1C62B5484945963 /* Pod */ = {
</s> add 33E7185C5F058161914FDC3F50821F9F /* EXNotifications */ = { </s> remove name = EXNotifications;
path = "../../../../packages/expo-notifications/ios";
</s> add name = Frameworks; </s> add EF7BB141B2982163DDB1D3B8862E1C3B /* EXNotifications.podspec */, </s> remove name = Frameworks;
</s> add name = Pod;
|
https://github.com/expo/expo/commit/6650ec60d7fa4acc9b9ef509274350a1def727a0
|
apps/bare-expo/ios/Pods/EXNotifications.xcodeproj/project.pbxproj
|
keep keep keep keep replace replace replace keep keep keep keep keep
|
<mask> };
<mask> A594F26887607F0F6E6DC63A8503C80B /* Support Files */ = {
<mask> isa = PBXGroup;
<mask> children = (
<mask> 1E0C15E3A464A48CE07C5530547F8674 /* EXNotifications.xcconfig */,
<mask> 97F761B442D5FD846C53C2082656EF00 /* EXNotifications-dummy.m */,
<mask> E246387DCE73F6475A2EEB6CA97169EE /* EXNotifications-prefix.pch */,
<mask> );
<mask> name = "Support Files";
<mask> path = "../../../apps/bare-expo/ios/Pods/Target Support Files/EXNotifications";
<mask> sourceTree = "<group>";
<mask> };
</s> [expo-notifications] Add private InstallationIdProvider (#6749)
# Why
To be able to register at Expo server we need to identify the device with a UUID.
# How
Implemented a non-exported module which:
- uses the same storage as kernel does for the UUID (in native, on web uses `localStorage`)
- if the ID is missing, it generates and saves a new one.
# Test Plan
None yet, implementing `getExpoPushTokenAsync` will be a test for this module. </s> remove A594F26887607F0F6E6DC63A8503C80B /* Support Files */ = {
</s> add BF527650578DFB2D1FABFA368EE5C5BF /* Support Files */ = { </s> remove CCE96D56F43E72270B9F3BEC1866196F /* Frameworks */ = {
</s> add C55B625FEEA2DBB69EC5E0F618F05044 /* Pod */ = { </s> remove name = Pod;
</s> add name = EXNotifications;
path = "../../../../packages/expo-notifications/ios"; </s> remove name = EXNotifications;
path = "../../../../packages/expo-notifications/ios";
</s> add name = Frameworks; </s> remove C4889B8D11F43B40986F975FE4262907 /* EXPushTokenListener.h */,
EA3B3488E0B12AA023AC3DB7A77A65ED /* EXPushTokenManager.h */,
733042F9597C31BCE53FD75EFF73F52E /* EXPushTokenManager.m */,
736825122FE005F2F529ED1F4D6ACDCE /* EXPushTokenModule.h */,
60637594D8ABDAA802B620C019A49330 /* EXPushTokenModule.m */,
22BDFFED547112B9D1C62B5484945963 /* Pod */,
A594F26887607F0F6E6DC63A8503C80B /* Support Files */,
</s> add </s> remove 686AC224CB480A164AD980F32DF0507A /* EXNotifications.podspec */,
</s> add AB3B54A54086A31FBE64A5414BDE21FE /* EXInstallationIdProvider.h */,
F23C9D736F240520B18131B4A6A970AC /* EXInstallationIdProvider.m */,
F08E3CC7D0005C33BFDD52B86B7D59D1 /* EXPushTokenListener.h */,
3A70F3C164079075AC2158FDEBC9DE51 /* EXPushTokenManager.h */,
D4159ADB2CC18A0C3748BEDAF6CAD952 /* EXPushTokenManager.m */,
523E6B702446705783463EF095A3AA0D /* EXPushTokenModule.h */,
B9F5A9BB154B52AD2D485F5DB9EF5828 /* EXPushTokenModule.m */,
C55B625FEEA2DBB69EC5E0F618F05044 /* Pod */,
BF527650578DFB2D1FABFA368EE5C5BF /* Support Files */,
|
https://github.com/expo/expo/commit/6650ec60d7fa4acc9b9ef509274350a1def727a0
|
apps/bare-expo/ios/Pods/EXNotifications.xcodeproj/project.pbxproj
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.