viromedia / figment-ar Goto Github PK
View Code? Open in Web Editor NEWThis repository contains the entire source code, built using ViroReact and React Native, for Viro Media's Figment AR App.
License: Other
This repository contains the entire source code, built using ViroReact and React Native, for Viro Media's Figment AR App.
License: Other
I got personal (free) licence on Apple Developer
My set: MacBook Air OSX 10.14.6
IPhone iOS 13.3.1
Xcode 11.3
I did all recommended steps, set personal development team, Xcode builds app successfully, installs, but gives black screen on tested device and following error:
dyld: Library not loaded: @rpath/AWSCore.framework/AWSCore
Referenced from: /private/var/containers/Bundle/Application/C1EE3B15-87FE-4367-8608-34771A25874D/figment.app/figment
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/C1EE3B15-87FE-4367-8608-34771A25874D/figment.app/Frameworks/AWSCore.framework/AWSCore: code signature invalid for '/private/var/containers/Bundle/Application/C1EE3B15-87FE-4367-8608-34771A25874D/figment.app/Frameworks/AWSCore.framework/AWSCore'
/private/var/containers/Bundle/Application/C1EE3B15-87FE-4367-8608-34771A25874D/figment.app/Frameworks/AWSCore.framework/AWSCore: stat() failed with errno=25
/private/var/containers/Bundle/Application/C1EE3B15-87FE-4367-8608-34771A25874D/figment.app/Frameworks/AWSCore.framework/AWSCore: code signature invalid for '/private/var/containers/Bundle/Application/C1EE3B15-87FE-4367-8608-34771A25874D/figment.app/Frameworks/AWSCore.framework/AWSCore'
/private/var/containers/Bundle/Application/C1EE3B15-87FE-4367-8608-34771A25874D/figment.app/Frameworks/AWSCore.framework/AWSCore: stat() failed with errno=1
/private/var/containers/Bundle/Application/C1EE3B15-87FE-4367-8608-34771A25874D/figment.app/Frameworks/AWSCore.framework/AWSCore: code signature invalid for '/private/var/containers/Bundle/Application/C1EE3B15-87FE-4367-8608-34771A25874D/figment.app/Frameworks/AWSCore.framework/AWSCore'
/private/var/containers/Bundle/Application/C1EE3B15-87FE-4367-8608-34771A25874D/figment.app/Frameworks/AWSCore.framework/AWSCore: stat() failed with errno=1
Hi
Let me explain first, debugging the app using a USB cable and a device works properly. The app gets installed on the device and it works.
But when I try to build the production APK version (Using this instruction), there are couple of issues.
I'm using Windows 10, react-native 0.55.4 and JDK 1.8.
Firstly, in the build.gradle file the property used for accessing "node" is only Linux based.
it is "nodeExecutableAndArgs : ["/usr/local/bin/node"]" by default which results in an error during the build, pointing out that the requested path is not accessible (Which is odd if it would be on Windows OS ;) ). I have changed this value to "nodeExecutableAndArgs : ["node"]" and this issue has been resolved.
Starting process 'command 'cmd''. Working directory: E:\Workspaces\ARProjects\myarproject Command: cmd /c /usr/local/bin/node node_modules/react-native/local-cli/cli.js bundle --platform android --dev false --reset-cache --entry-file index.android.js --bundle-output E:\Workspaces\ARProjects\myarproject\android\app\build\intermediates\assets\gvr\release\index.android.bundle --assets-dest E:\Workspaces\ARProjects\myarproject\android\app\build\intermediates\res\merged\gvr\release
Successfully started process 'command 'cmd''
The system cannot find the path specified.
But my main problem is another error I've faced after rectifying the previous one.
> Task :app:bundleGvrReleaseJsAndAssets
Loading dependency graph, done.
Cannot find entry file index.android.js in any of the roots: ["E:\\Workspaces\\ARProjects\\myarproject"]
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:bundleGvrReleaseJsAndAssets'.
> Process 'command 'cmd'' finished with non-zero exit value 1
It seems gradle is looking for some entry point JS file which it can't locate anywhere!!!
I have searched through different react-native forums and all of them only suggest to downgrade to an older version of react-native. But I don't believe that's a proper solution. We need to be able to build apps with the final version as well after all.
any thoughts??!!
Hi everyone I just installed latest Xcode on high Sierra 10.13.6.
Clone git repo ok
Npm install ok
Pod install ok
But when I open xcworkspace project in Xcode and trying to build it I got an error on not finding main.jsbundle file.
I search around for dilution but I find nothing that worked.
Have you an idea ?
Thanks
hi,
im getting this error when i want to run ios projcet:
/Users/{USER}/Library/Developer/Xcode/DerivedData/figment-fdqkaeqgnoggvzbvgfhqpllbxtht/Build/Intermediates.noindex/figment.build/Release-iphoneos/figment.build/Script-EF465799C0823186D38FD066.sh: line 2: /Users/{USER}/Desktop/figment-ar/ios/ngrok_launch.sh: Permission denied
any help...?
I have installed Figment AR app on my Galaxy s10 and using playstore and also I have created an app using figment AR source code. In boths app recording video works fine but taking a screen shot just outputs a black image.
but i can't get api key anywhere from your website
Hello,
I'm using a Samsung S7 and when i start the app, the screen will stay black (it doesnt show camera input but it does show the UI with the 'initializing, move your device around gently' message).
Within a minute or so it will crash.
Same happens with my viro app that's build from native code, but that used to work for a couple days untill today, it suddenly stopped working.
invariant violation: Text string must be rendered within a component
react-native version: 0.59.9
Android Device Version: 11
iOS Device Version: 14.11
Trying to use recently downloaded vrx file in Viro3dObject
here in our application,these two ways of giving file path are working fine
but giving file "path content://com.android.providers.downloads.documents/document/1064" likeobj: { uri: 'content://com.android.providers.downloads.documents/document/1064' }, is showing error like below.
Please help about how to give local file path of vrx file to the ar screen
Hello everybody
please someone can help me with this error?
error: bundling failed: Error: Unable to resolve module ../res/portal_archway/portal_archway.vrx
from /Users/cristianzamarco/Desktop/APP/figment-ar-master/js/model/PortalItems.js
: The module ../res/portal_archway/portal_archway.vrx
could not be found from /Users/cristianzamarco/Desktop/APP/figment-ar-master/js/model/PortalItems.js
. Indeed, none of these files exist:
/Users/cristianzamarco/Desktop/APP/figment-ar-master/js/res/portal_archway/portal_archway.vrx(.native||.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)
/Users/cristianzamarco/Desktop/APP/figment-ar-master/js/res/portal_archway/portal_archway.vrx/index(.native||.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)
When I press the portals icon, I get Invariant Violation: Text strings must be rendered within a component.
Whenever I try to place an object or create a portal, the app crashes. :(
I am getting this error: AndroidRuntime: FATAL EXCEPTION: create_react_context
Any suggestion ?
Hi, I have downloaded the git repo and successfully build figment as an android app. It worked well when my phone was still connected to my PC. However, once I unplug the cable which is used to connect my phone with PC, the app returned me the error and warning as shown in below. Can anyone help pls?
[error][tid:com.facebook.react.ShadowQueue][RCTModuleMethod.mm:375] Unknown argument type 'attribute' in method -[RCTUIManager setJSResponder:blockNativeResponder:]. Extend RCTConvert to support this type.
2020-03-11 12:43:14.055948+0800 figment[8122:1887769] Unknown argument type 'attribute' in method -[RCTUIManager setJSResponder:blockNativeResponder:]. Extend RCTConvert to support this type.
2020-03-11 12:43:14.066 [fatal][tid:com.facebook.react.ShadowQueue] Exception '*** -[__NSArrayM objectAtIndexedSubscript:]: index 1 beyond bounds [0 .. 0]' was thrown while invoking setJSResponder on target UIManager with params (
133,
0
)
callstack: (
0 CoreFoundation 0x00000001994a2a5c 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1227356
1 libobjc.A.dylib 0x00000001991c9fa4 objc_exception_throw + 56
2 CoreFoundation 0x00000001994f8360 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 1577824
3 CoreFoundation 0x000000019938cdec 7519E999-1053-3367-B9D5-8844F6D3BDC6 + 89580
4 figment 0x0000000104456684 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 284
5 figment 0x00000001044943c8 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 248
6 figment 0x0000000104494128 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 88
7 libdispatch.dylib 0x00000001064817fc _dispatch_call_block_and_release + 24
8 libdispatch.dylib 0x0000000106482bd8 _dispatch_client_callout + 16
9 libdispatch.dylib 0x0000000106489b48 _dispatch_lane_serial_drain + 744
10 libdispatch.dylib 0x000000010648a6e4 _dispatch_lane_invoke + 448
11 libdispatch.dylib 0x0000000106495adc _dispatch_workloop_worker_thread + 1324
12 libsystem_pthread.dylib 0x00000001991beb88 _pthread_wqthread + 276
13 libsystem_pthread.dylib 0x00000001991c1760 start_wqthread + 8
)
Hello there,
I'm trying to run the project using Viromedia app to test.
I get "React Native version mismatch" ->
Javascript version: 0.55.1
Native version: 0.57.1
I tried to upgrade react-native to 0.57.1 and I get errors just with VRX files (I checked the rn-cli.config.js and its included). -> Unable to resolve module 'XXXXXXXXXX.vrx'
any thoughts?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.