Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added example/assets/rive/counter.riv
Binary file not shown.
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react": "19.0.0",
"react-native": "0.79.2",
"react-native-gesture-handler": "2.29.1",
"react-native-nitro-modules": "0.33.2",
"react-native-nitro-modules": "0.35.0",
"react-native-reanimated": "4.1.5",
"react-native-safe-area-context": "^5.4.0",
"react-native-worklets": "0.6.1"
Expand Down
1 change: 1 addition & 0 deletions expo-example/app/[pageId].tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@example/polyfills';
import { useLocalSearchParams, Stack } from 'expo-router';
import { PagesList, type PageItem } from '@example/PagesList';
import { View, Text, StyleSheet } from 'react-native';
Expand Down
1 change: 1 addition & 0 deletions expo-example/app/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@example/polyfills';
import {
DarkTheme,
DefaultTheme,
Expand Down
1 change: 1 addition & 0 deletions expo-example/app/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@example/polyfills';
import { useEffect, useState } from 'react';
import { StyleSheet, TouchableOpacity } from 'react-native';
import { useRouter } from 'expo-router';
Expand Down
1 change: 1 addition & 0 deletions expo-example/components/ui/icon-symbol.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const MAPPING = {
'paperplane.fill': 'send',
'chevron.left.forwardslash.chevron.right': 'code',
'chevron.right': 'chevron-right',
'wrench.fill': 'build',
} as IconMapping;

/**
Expand Down
2 changes: 1 addition & 1 deletion expo-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"react-dom": "19.1.0",
"react-native": "0.81.5",
"react-native-gesture-handler": "2.29.1",
"react-native-nitro-modules": "0.33.2",
"react-native-nitro-modules": "0.35.0",
"react-native-reanimated": "4.1.5",
"react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0",
Expand Down
2 changes: 1 addition & 1 deletion ios/DataSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ enum DataSource {
return .bundle(resource: name, extension: ext.isEmpty ? nil : ext)
}

static func bytes(from buffer: ArrayBufferHolder) -> DataSource {
static func bytes(from buffer: ArrayBuffer) -> DataSource {
return .bytes(data: buffer.toData(copyIfNeeded: false))
}

Expand Down
2 changes: 1 addition & 1 deletion ios/HybridRiveFileFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ final class HybridRiveFileFactory: HybridRiveFileFactorySpec, @unchecked Sendabl
return try fromResource(resource: resource, loadCdn: loadCdn, referencedAssets: nil)
}

func fromBytes(bytes: ArrayBufferHolder, loadCdn: Bool, referencedAssets: ReferencedAssetsType?)
func fromBytes(bytes: ArrayBuffer, loadCdn: Bool, referencedAssets: ReferencedAssetsType?)
throws -> Promise<
(any HybridRiveFileSpec)
> {
Expand Down
2 changes: 1 addition & 1 deletion ios/HybridRiveImageFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class HybridRiveImageFactory: HybridRiveImageFactorySpec {
return loadFromDataSource(.bundle(nameWithExtension: resource))
}

func loadFromBytesAsync(bytes: ArrayBufferHolder) throws -> Promise<(any HybridRiveImageSpec)> {
func loadFromBytesAsync(bytes: ArrayBuffer) throws -> Promise<(any HybridRiveImageSpec)> {
return loadFromDataSource(.bytes(from: bytes))
}
}
44 changes: 19 additions & 25 deletions nitrogen/generated/android/c++/JHybridBindableArtboardSpec.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 19 additions & 22 deletions nitrogen/generated/android/c++/JHybridBindableArtboardSpec.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 18 additions & 24 deletions nitrogen/generated/android/c++/JHybridFallbackFontSpec.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 19 additions & 22 deletions nitrogen/generated/android/c++/JHybridFallbackFontSpec.hpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading