bear2b / bear_sdk_demo_ios

BearSDK iOS
http://bear2b.com
Other
0 stars 1 forks source link

Crash when init custom ARViewController from storyboard - using CocoaPods #8

Closed Leloo closed 2 years ago

Leloo commented 4 years ago

I am unable to get an ARViewController instance. There is a crash when i'm trying to do it. At first I thought it was a problem in our project, but I created a new project to see if it works on a clean project. Unfortunately, the problem also occurs on the new project. We are using CocoaPods, Xcode 11.4.1

This problem began after updating the library to version 3.0.3. How can we resolve this problem?

Clear implementation:

class ScanViewController: ARViewController { /// }

Screenshot 2020-07-02 at 17 50 00

Screenshot 2020-07-02 at 17 50 44

mmerlangeRA commented 4 years ago

Hi Leloo, Could you please contact us so that we can discuss and be sure to reproduce on your environment? Contact is eugene@ar-go.co Thanks for your help, Regards, Michaël

Leloo commented 4 years ago

@mmerlangeRA I wrote you an email on eugene@ar-go.co

GenChe commented 4 years ago

@Leloo thank you for the report our development team will check it out and contact you as soon as possible

vovnit commented 4 years ago

Hello @Leloo, I can reproduce your problem only if I'm trying to access ARViewController without setting BearSDK.setSecretKey first. Tell me if you're already doing it and the problem persists

Leloo commented 4 years ago

Hello @vovnit You were right about the secret key setting. The setSecretKey method returns an exception for each of my keys. These keys worked in previous versions of the library.

dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.})))

vovnit commented 4 years ago

@Leloo we'll contact you shortly to provide working keys, thank you for reaching out

paddoum commented 4 years ago

Hello,

Can you liaise with Rodolphe to make sure this customer is entitled to have a key.

thx P.

Pierre Addoum CEO & Co-founder +33 651 605 274

On 22 Jul 2020, at 17:37, Vladimir Nitochkin notifications@github.com wrote:

 @Leloo we'll contact you shortly to provide working keys, thank you for reaching out

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

paddoum commented 4 years ago

Hi,

He/she is a dev working with our partner Taptic (for our client Opera de Paris).

Rodolphe

Rodolphe Denoix Account Manager Mobile: +33 6 72 45 66 84 Email: rodolphe@ar-go.co http://www.ar-go.co/ https://www.linkedin.com/company/ar-go/ https://twitter.com/argo_group_news https://www.facebook.com/argo.group.news/ www.ar-go.co At ARGO we reach both physical and digital worlds. Discover our brands : Bear2b http://bear2b.com/ and SnapPress http://snappress.fr/. ARGO, Station F, 55 Boulevard Vincent Auriol, 75013 Paris

Le jeu. 23 juil. 2020 à 08:01, Pierre Addoum pierre@bear2b.com a écrit :

Hello,

Can you liaise with Rodolphe to make sure this customer is entitled to have a key.

thx P.

Pierre Addoum CEO & Co-founder +33 651 605 274

On 22 Jul 2020, at 17:37, Vladimir Nitochkin notifications@github.com wrote:



@Leloo https://github.com/Leloo we'll contact you shortly to provide working keys, thank you for reaching out

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bear2b/bear_sdk_demo_ios/issues/8#issuecomment-662525474, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABH5RSOBJUX2GPVQW6EVKLR44BT7ANCNFSM4OPA2RNA .

paddoum commented 4 years ago

Perfect, sorry Leloo I wasn't sure :-)