arisgames / iosclient Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://arisgames.org
License: MIT License
Home Page: http://arisgames.org
License: MIT License
Hi.
I'm trying make a custom html button that on click exits to the AR scanner using a media overlay.
I think my code works as it does navigate to a scanner. I will include the code here:
var hideTipe = {};
ARIS = {};
ARIS.ready = function() {
hideTip = function() {
ARIS.exitToAugmented({media_id: 5});
}
}
Actually I believe there is a bug in the API, as it seems to exit to the QR Scanner tab.
The media_id of 5 is just arbitrary. The documentation on this is a bit sparse. It tells us to use a "media id", but when searching for one in the Media page of the editor I see no id's. So I opted to use the uuid prefixes with "aris" from the source of the page, i.e., aris4f9326bf7d5af252d28ddb40efec369e. I'm guessing this is the one? But adding that yields no result. As mentioned, if seems to exit to the QR Scanner.
The project id is 31362, if you would like to have a look.
View Crash Report on Crittercism
Reported by: David Gagnon ([email protected])
Status: Unresolved
This Crash occured 0 times for 0 users
0 CoreFoundation 0x342232a3 exceptionPreprocess + 163
1 libobjc.A.dylib 0x3bf4b97f objc_exception_throw + 31
2 CoreFoundation 0x3416eb75 -[__NSArrayM objectAtIndex:] + 165
3 ARIS 0x0008815f -AppServices parseOneGameGameListFromJSON:
4 ARIS 0x00090e4f -JSONConnection connectionDidFinishLoading:
5 Foundation 0x34b5e6fd __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke_0 + 17
6 Foundation 0x34a9e1f9 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 201
7 Foundation 0x34a9e115 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 61
8 CFNetwork 0x33f0045f ___delegate_didFinishLoading_block_invoke_0 + 27
9 CFNetwork 0x33effb43 ___withDelegateAsync_block_invoke_0 + 55
10 CFNetwork 0x33f27fcb ___performAsync_block_invoke_068 + 19
11 CoreFoundation 0x3416974d CFArrayApplyFunction + 177
12 CFNetwork 0x33f2842b _ZN19RunloopBlockContext7performEv + 75
13 CFNetwork 0x33e8c03d _ZN17MultiplexerSource7performEv + 189
14 CoreFoundation 0x341f8683 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 15
15 CoreFoundation 0x341f7ee9 __CFRunLoopDoSources0 + 213
16 CoreFoundation 0x341f6cb7 __CFRunLoopRun + 647
17 CoreFoundation 0x34169ebd CFRunLoopRunSpecific + 357
18 CoreFoundation 0x34169d49 CFRunLoopRunInMode + 105
19 GraphicsServices 0x37d422eb GSEventRunModal + 75
20 UIKit 0x3607f301 UIApplicationMain + 1121
21 ARIS 0x000509a7 main (main.mm:16)
22 libdyld.dylib 0x3c382b20 start + 0
Right when the trigger is recognized it crashes. Reported from Breanne.
Reported from breanne
Reported from Breanne
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.