파일을 올리고 사용할 수는 없나요?
안녕하세요 ![]()
현재는 웹 URL 절대경로만 지원하고 있어요.
참고 부탁드립니다 ![]()
import { Image } from ‘react-native-bedrock’;
를 사용하면
ERROR Invariant Violation: Tried to register two views with the same name LottieAnimationView, js engine: hermes
lottie가 겹친다 나옵니다. 뭐가 문제일까요 ㅠㅠ?
// package.json
{
“dependencies”: {
“@granite-jsgranite-js/plugin-router”: “0@apps-in-toss1.21”,
“@apps-in-toss/fr@granite-jsmework”: “^1.0.0”,
“@granite-js/react-native”: “0.1.21”,
“react”: “18.2.0”,
“react-native”: “0.72.6”,
“react-native-vector-icons”: “^10.3.0”,
“zustand”: “^5.0@granite-js8”
},
“devDependencies”: {
@babel“@granite-js/plugin-@babelouter”: “0.1.21”,
“@babel/core”: “7.23.9”,
“@ba@babelel/plugin-proposal-class-properties”: “^7.16.7”,
“@babel/pl@babelgin-proposal-nullish-coalescing-operator”: “^7.16.@babel”,
“@babel/plugin-proposal-numeric-separator”: “^@babel.16.7”,
“@babel/plugin-proposal-optional-chaini@babelg”: “^7.16.7”,
“@babel/plugin-proposal-private-methods”: “@babel7.18.6”,
“@babel/plugin-proposal-private-property@babelin-object”: “^7.18.6”,
“@b@babelbel/plugin-transform-flow-str@babelp-types”: “^7.19.0”,
“@babel/pres@babelt-env”: “^7.15.0”,
“@b@testing-librarybel/preset-react”: “^7.16.7”,@types
“@babel/preset-typescript”:@types“^7.16.7”,
“@babel/ru@typestime”: “7.18.9”,
“@te@typesting-library/react-na@typesive”: “^12.9.0”,
“@types/babel__core”: “^7.20.5”,
“@types/jest”: “^29.5.14”,
“@types/node”: “^22.10.2”,
“@types/react”: “18.3.3”,
“@types/react-native-vector-icons”: “^6.4.18”,
“jest”: “^29.7.0”,
“react-test-renderer”: “18.2.0”,
“typescript”: “^5.8.3”
}
}
package.json 이 조금 깨진 것 같네요 ![]()
import { Image } from '@granite-js/react-native'; 요것으로 시도하면 어떤가요 ?
정상 작동합니다. 예제가 변경되면 좋을거 같아요!