Ziggeo / ReactNativeSDK

React Native SDK
Apache License 2.0
7 stars 6 forks source link

null is not an object ( evaluating 'ZiggeoRecorder.rearCamera') #32

Closed vijaysinghrajput closed 4 years ago

vijaysinghrajput commented 5 years ago

This Error show while integration

3akat commented 5 years ago

Hi @vijaysinghrajput, is it on iOs or Android? or both?

vijaysinghrajput commented 5 years ago

Right Now I am using Android . WHEN I initialized this npm with all code .and refresh it show error null is not an object ( evaluating 'ZiggeoRecorder.rearCamera')

vijaysinghrajput commented 5 years ago

Thank You for your response

I have a website which are using Ziggeo . and I am Developing App by Expo Show this error occur.

my 2nd question is - Can I send Video to Ziggeo Databse by using Custom Video recorder??

On Mon, Jul 8, 2019 at 1:05 PM Alexander Bedulin notifications@github.com wrote:

Hi @vijaysinghrajput https://github.com/vijaysinghrajput, is it on iOs or Android? or both?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ziggeo/ReactNativeSDK/issues/32?email_source=notifications&email_token=AKPHJJRIPKMLML4TDBNAYTTP6LU5ZA5CNFSM4H6YLF72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZMHOWA#issuecomment-509114200, or mute the thread https://github.com/notifications/unsubscribe-auth/AKPHJJSF4EHTT3KIEAHSND3P6LU5ZANCNFSM4H6YLF7Q .

3akat commented 5 years ago

If I understand correctly you're trying to use the SDK with Expo (https://expo.io), am I right?

vijaysinghrajput commented 5 years ago

Yes i want use in expo i Tried to do this : Usage with Expo #30 but not got solution

3akat commented 5 years ago

Roger, will check today

3akat commented 5 years ago

okay, I didn't find any issue, so, let's start from the beginning. Do you have android and ios folders in your expo project?

vijaysinghrajput commented 5 years ago

No I dont have these folder . I did not eject it . I have also tried without expo its show same error null is not an object ( evaluating 'ZiggeoRecorder.rearCamera')

3akat commented 5 years ago

If you don't have android and ios folders that means you didn't use bare mode in Expo, our SDK currently works with Expo only in bare mode. The thread you've mentioned (#30) is the correct one for searching the solution.

In short:

jcharbo commented 4 years ago

This library still does not work with React Native 60+ without Expo. I can get past the above error by creating a podspec file for the library but the ziggeo library headers and then not found.

bansal84k commented 4 years ago

@jcharbo We have taken note of the issue and our Dev team is checking it out. We have also logged a ticket in our system with all the details so that it is easier to collect any further information and follow up the issue in the correct platform/team. If you wish to continue here, its fine, however it will be easier to keep track as a separate issue related to iOS, since this thread originally detailed the issue on Android.

yaronlevi commented 4 years ago

I am seeing the same issue on iOS only (on android it works fine!) I've created a fresh React Native project with version 0.61.5 This is a full React Native project (not Expo).

I followed the steps from the docs:

1) npm install react-native-ziggeo-library --save 2) react-native link 3) Add the Ziggeo.framework file to the Xcode project.

But when running the project I am getting this error.

So Ziggeo's React Native SDK does not support iOS on 0.61.5?

Bane-D commented 4 years ago

Hi Yaron,

Could you please write on this post instead: https://github.com/Ziggeo/ReactNativeSDK/issues/35 It is for iOS and non Expo so it matches your case.

It should work however by re-opening that one we could focus better on it since this thread is originally opened for Android and was fixed, and the one above #35 is for iOS so would help avoid confusion.

Thank you :)