GithubHelp home page GithubHelp logo

reactnativesdk's People

Contributors

3akat avatar alexyats avatar bane-d avatar katolykdev avatar oliverfriedmann avatar ziggeojitpackservice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reactnativesdk's Issues

How to get the uploaded video url?

while trying to play the uploaded video from ios the video is not playing. so I have decided to use third party video player. But I am struggling to get the video url. Your suggestions will be more helpful

iOS Ziggeo.play not showing

[email protected]

This is a bug I found a couple weeks ago and decided to bypass it by using react-native-video to play the video instead of ziggeo itself. (Though react-native-video doesn't work well on Android for our needs so we still use Ziggeo.play on Android)

On v1.4.31 it used to log an error in Xcode, but now it is just invisible (but I do hear the video). I believe the problem from v1.4.xx was fixed, though I still can't view the video with it.

I believe the video might be showing under our modal on iOS, but I can't be sure.

This is a non-issue for us at the moment, but had to log this issue for the # (Nice.)

upload percentage

Hye,
Is there any props that we can keep track how many percentage the video is uploaded ?

Please support useLiveStreaming setting for streaming recording

Hi,

I notice that in your iOS SDK you support streaming recording:

Streaming Recording
    recorder.useLiveStreaming = YES;

Streaming recording mode will upload the video stream during the recording without caching to local file first. Video preview and video re-record are not available in this mode.

However your Android SDK makes no mention of this useLiveStreaming setting, nor does your RN SDK.

So is useLiveStreaming support on all three platforms: iOS Native, Android Native and React Native?

If not, is there a technical reason or can I help with a PR?

We need useLiveStreaming because if our users record a long video, we don't want to upload the recording once they're done but rather while they're recording so that as soon as they're done they can leave our app.

Thanks!

Unable to build iOS with version 1.5.0

I have got this error in the past with another release(s), can't remember which one (maybe 1.4.33 ?)

Here is the "detailed" error from Xcode
Screen Shot 2021-08-05 at 1 56 22 PM
Screen Shot 2021-08-05 at 1 56 33 PM

package.json

"react": "17.0.1",
"react-native": "^0.64.2",
"react-native-ziggeo-library": "^1.5.0",

Podfile

pod 'iOS-Client-SDK', :git => 'https://github.com/Ziggeo/iOS-Client-SDK.git'

PS: "pod 'ZiggeoRN', :git => 'https://github.com/Ziggeo/ReactNativeSDK.git'" is not used as it causes another error.

Usage with Expo

Hi there!

I would like to use the Ziggeo React Native SDK with expo: https://expo.io. I see we need to change some specific android/ios files when using the Ziggeo SDK. How would that work with Expo?

Thanks!

No RecordingStopped Event in iOS

Hi (-:

Our users record long videos, about 20-30 min. When the user finished a recording, we want to show him a popup that says "The video recording is complete. Now your video will be uploaded in the background. Youll be notified when it's finished".

We used the following code to hook up to the event of video recording stopped:

const subScribeToEndRecord = recorderEmitter.addListener(
    'RecordingStopped',
    onRecordEnd,
  );

This works fine on Android but on iOS we get:

IMG_20200406_214416

How can we get notified in iOS when the video recording has finished?

Support for iOS on versions 0.61.0 and up

Hi (-:

We are trying to integrate the SDK with our app. On Android, everything went smoothly.
On iOS, however, we get an error when running the app:

null is not an object evaluating ZiggeoRecorder.rearCamera

Our app is built with RN version 0.61.5.
When we tried setting our RN version to 0.59.0, suddenly it worked fine. But unfortunately, we can't go live with this lower version. It's a real deal-breaker for us.

Is there any solution on the horizon, or in the meanwhile some quick workaround?

Thanks for any help on the issue.

Error AVFoundationErrorDomain 11800 When Record Starts In iOS

Hi (-:

We are facing another crash on iOS when starting a new recording on a real device. The recording code is:

const onClick = async () => {
    Ziggeo.setAppToken('xxx');    
    const token = await Ziggeo.record();
}

The error is:

2020-04-07 10:09:52.214 [info][tid:com.facebook.react.ZiggeoRecorderQueue][RCTZiggeoRecorder.m:133] application token set: xxxxx
2020-04-07 10:09:52.215 [info][tid:com.facebook.react.ZiggeoPlayerQueue][RCTZiggeoPlayer.m:20] application token set: xxxxx
2020-04-07 10:09:52.960993+0300 ziggeo_test_2[4232:162032] Capture session runtime error: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-10868), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x2832b5e00 {Error Domain=NSOSStatusErrorDomain Code=-10868 "(null)"}}
2020-04-07 10:09:52.961669+0300 ziggeo_test_2[4232:162032] foreground request
2020-04-07 10:09:52.962132+0300 ziggeo_test_2[4232:162032] request dump: ---REQUEST------------------
URL: https://embed-eu-west-1.ziggeo.com/v1/applications/xxxxx/session
METHOD: POST
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
BODY: 
----------------------------
2020-04-07 10:09:53.522093+0300 ziggeo_test_2[4232:163701] foreground request
2020-04-07 10:09:53.522863+0300 ziggeo_test_2[4232:163701] request dump: ---REQUEST------------------
URL: https://embed-eu-west-1.ziggeo.com/v1/applications/xxxxx/debugger?i07af2jp98rvoctt26y5egy3xxxxx=r10c97e976859d0c3fb7027b9d2fa689&
METHOD: POST
Content-Type: application/x-www-form-urlencoded
Content-Length: 531
BODY: events=[%7B%22message%22:%22Capture%20session%20runtime%20error:%20Error%20Domain=AVFoundationErrorDomain%20Code=-11800%20%22The%20operation%20could%20not%20be%20completed%22%20UserInfo=%7BNSLocalizedFailureReason=An%20unknown%20error%20occurred%20(-10868),%20NSLocalizedDescription=The%20operation%20could%20not%20be%20completed,%20NSUnderlyingError=0x2832b5e00%20%7BError%20Domain=NSOSStatusErrorDomain%20Code=-10868%20%22(null)%22%7D%7D%22,%22source%22:%22ziggeo.ios.sdk%22,%22lineno%22:0,%22colno%22:0,%22time%22:1586243392%7D]
----------------------------

I replaced our token with xxxxx for security reasons.

I've created a repo to easily reproduce the problem.

ios run failed: The following build commands failed: CompileC ZiggeoRN

Hi, I'm getting this error when trying to run ios. (pod install working successfully)

** BUILD FAILED **

The following build/Users/chend/newproject/ios/Podfile commands failed:
CompileC /Users/chend/Library/Developer/Xcode/DerivedData/newproject-frskhpfjqawsajelejzwsthvdxyd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ZiggeoRN.build/Objects-normal/x86_64/RCTZiggeoRecorder.o /Users/chend/newproject/node_modules/react-native-ziggeo-library/ios/Recorder/RCTZiggeoRecorder.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/chend/Library/Developer/Xcode/DerivedData/newproject-frskhpfjqawsajelejzwsthvdxyd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ZiggeoRN.build/Objects-normal/x86_64/RCTVideos.o /Users/chend/newproject/node_modules/react-native-ziggeo-library/ios/Videos/RCTVideos.m normal x86_64 o/Users/chend/newproject/ios/Podfile.lockbjective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)

This is my code:

Podfile:

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'

target 'newproject' do
config = use_native_modules!

use_react_native!(:path => config["reactNativePath"])

pod 'iOS-Client-SDK', :git => 'https://github.com/Ziggeo/iOS-Client-SDK.git'
target 'newprojectTests' do
inherit! :complete

Pods for testing

end

Enables Flipper.
Note that if you have use_frameworks! enabled, Flipper will not work and
you should disable these next few lines.
use_flipper!({ 'Flipper-Folly' => '2.3.0' })

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
end
end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
end
target 'newproject-tvOS' do

Pods for newproject-tvOS
target 'newproject-tvOSTests' do
inherit! :search_paths

Pods for testing

end
end

Podfile.lock:

PODS:

boost-for-react-native (1.63.0)
CocoaAsyncSocket (7.6.5)
CocoaLibEvent (1.0.0)
DoubleConversion (1.1.6)
FBLazyVector (0.63.3)
FBReactNativeSpec (0.63.3):
Folly (= 2020.01.13.00)
RCTRequired (= 0.63.3)
RCTTypeSafety (= 0.63.3)
React-Core (= 0.63.3)
React-jsi (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
Flipper (0.54.0):
Flipper-Folly (> 2.2)
Flipper-RSocket (
> 1.1)
Flipper-DoubleConversion (1.1.7)
Flipper-Folly (2.3.0):
boost-for-react-native
CocoaLibEvent (> 1.0)
Flipper-DoubleConversion
Flipper-Glog
OpenSSL-Universal (= 1.0.2.20)
Flipper-Glog (0.3.6)
Flipper-PeerTalk (0.0.4)
Flipper-RSocket (1.1.1):
Flipper-Folly (
> 2.3)
FlipperKit (0.54.0):
FlipperKit/Core (= 0.54.0)
FlipperKit/Core (0.54.0):
Flipper (> 0.54.0)
FlipperKit/CppBridge
FlipperKit/FBCxxFollyDynamicConvert
FlipperKit/FBDefines
FlipperKit/FKPortForwarding
FlipperKit/CppBridge (0.54.0):
Flipper (
> 0.54.0)
FlipperKit/FBCxxFollyDynamicConvert (0.54.0):
Flipper-Folly (> 2.2)
FlipperKit/FBDefines (0.54.0)
FlipperKit/FKPortForwarding (0.54.0):
CocoaAsyncSocket (
> 7.6)
Flipper-PeerTalk (> 0.0.4)
FlipperKit/FlipperKitHighlightOverlay (0.54.0)
FlipperKit/FlipperKitLayoutPlugin (0.54.0):
FlipperKit/Core
FlipperKit/FlipperKitHighlightOverlay
FlipperKit/FlipperKitLayoutTextSearchable
YogaKit (
> 1.18)
FlipperKit/FlipperKitLayoutTextSearchable (0.54.0)
FlipperKit/FlipperKitNetworkPlugin (0.54.0):
FlipperKit/Core
FlipperKit/FlipperKitReactPlugin (0.54.0):
FlipperKit/Core
FlipperKit/FlipperKitUserDefaultsPlugin (0.54.0):
FlipperKit/Core
FlipperKit/SKIOSNetworkPlugin (0.54.0):
FlipperKit/Core
FlipperKit/FlipperKitNetworkPlugin
Folly (2020.01.13.00):
boost-for-react-native
DoubleConversion
Folly/Default (= 2020.01.13.00)
glog
Folly/Default (2020.01.13.00):
boost-for-react-native
DoubleConversion
glog
glog (0.3.5)
GoogleAds-IMA-iOS-SDK (3.11.3)
iOS-Client-SDK (1.1.27):
GoogleAds-IMA-iOS-SDK (= 3.11.3)
OpenSSL-Universal (1.0.2.20):
OpenSSL-Universal/Static (= 1.0.2.20)
OpenSSL-Universal/Static (1.0.2.20)
RCTRequired (0.63.3)
RCTTypeSafety (0.63.3):
FBLazyVector (= 0.63.3)
Folly (= 2020.01.13.00)
RCTRequired (= 0.63.3)
React-Core (= 0.63.3)
React (0.63.3):
React-Core (= 0.63.3)
React-Core/DevSupport (= 0.63.3)
React-Core/RCTWebSocket (= 0.63.3)
React-RCTActionSheet (= 0.63.3)
React-RCTAnimation (= 0.63.3)
React-RCTBlob (= 0.63.3)
React-RCTImage (= 0.63.3)
React-RCTLinking (= 0.63.3)
React-RCTNetwork (= 0.63.3)
React-RCTSettings (= 0.63.3)
React-RCTText (= 0.63.3)
React-RCTVibration (= 0.63.3)
React-callinvoker (0.63.3)
React-Core (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default (= 0.63.3)
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/CoreModulesHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/Default (0.63.3):
Folly (= 2020.01.13.00)
glog
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/DevSupport (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default (= 0.63.3)
React-Core/RCTWebSocket (= 0.63.3)
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
React-jsinspector (= 0.63.3)
Yoga
React-Core/RCTActionSheetHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTAnimationHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTBlobHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTImageHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTLinkingHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTNetworkHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTSettingsHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTTextHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTVibrationHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTWebSocket (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default (= 0.63.3)
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-CoreModules (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
RCTTypeSafety (= 0.63.3)
React-Core/CoreModulesHeaders (= 0.63.3)
React-jsi (= 0.63.3)
React-RCTImage (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-cxxreact (0.63.3):
boost-for-react-native (= 1.63.0)
DoubleConversion
Folly (= 2020.01.13.00)
glog
React-callinvoker (= 0.63.3)
React-jsinspector (= 0.63.3)
React-jsi (0.63.3):
boost-for-react-native (= 1.63.0)
DoubleConversion
Folly (= 2020.01.13.00)
glog
React-jsi/Default (= 0.63.3)
React-jsi/Default (0.63.3):
boost-for-react-native (= 1.63.0)
DoubleConversion
Folly (= 2020.01.13.00)
glog
React-jsiexecutor (0.63.3):
DoubleConversion
Folly (= 2020.01.13.00)
glog
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsinspector (0.63.3)
react-native-flipper (0.113.0):
React-Core
React-RCTActionSheet (0.63.3):
React-Core/RCTActionSheetHeaders (= 0.63.3)
React-RCTAnimation (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
RCTTypeSafety (= 0.63.3)
React-Core/RCTAnimationHeaders (= 0.63.3)
React-jsi (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-RCTBlob (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
React-Core/RCTBlobHeaders (= 0.63.3)
React-Core/RCTWebSocket (= 0.63.3)
React-jsi (= 0.63.3)
React-RCTNetwork (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-RCTImage (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
RCTTypeSafety (= 0.63.3)
React-Core/RCTImageHeaders (= 0.63.3)
React-jsi (= 0.63.3)
React-RCTNetwork (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-RCTLinking (0.63.3):
FBReactNativeSpec (= 0.63.3)
React-Core/RCTLinkingHeaders (= 0.63.3)
React-jsi (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-RCTNetwork (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
RCTTypeSafety (= 0.63.3)
React-Core/RCTNetworkHeaders (= 0.63.3)
React-jsi (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-RCTSettings (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
RCTTypeSafety (= 0.63.3)
React-Core/RCTSettingsHeaders (= 0.63.3)
React-jsi (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-RCTText (0.63.3):
React-Core/RCTTextHeaders (= 0.63.3)
React-RCTVibration (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
React-Core/RCTVibrationHeaders (= 0.63.3)
React-jsi (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
ReactCommon/turbomodule/core (0.63.3):
DoubleConversion
Folly (= 2020.01.13.00)
glog
React-callinvoker (= 0.63.3)
React-Core (= 0.63.3)
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
Yoga (1.14.0)
YogaKit (1.18.1):
Yoga (~> 1.14)
ZiggeoRN (1.4.3):
iOS-Client-SDK
React-Core
DEPENDENCIES:

DoubleConversion (from ../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec)
FBLazyVector (from ../node_modules/react-native/Libraries/FBLazyVector)
FBReactNativeSpec (from ../node_modules/react-native/Libraries/FBReactNativeSpec)
Flipper (> 0.54.0)
Flipper-DoubleConversion (= 1.1.7)
Flipper-Folly (= 2.3.0)
Flipper-Glog (= 0.3.6)
Flipper-PeerTalk (
> 0.0.4)
Flipper-RSocket (> 1.1)
FlipperKit (
> 0.54.0)
FlipperKit/Core (> 0.54.0)
FlipperKit/CppBridge (
> 0.54.0)
FlipperKit/FBCxxFollyDynamicConvert (> 0.54.0)
FlipperKit/FBDefines (
> 0.54.0)
FlipperKit/FKPortForwarding (> 0.54.0)
FlipperKit/FlipperKitHighlightOverlay (
> 0.54.0)
FlipperKit/FlipperKitLayoutPlugin (> 0.54.0)
FlipperKit/FlipperKitLayoutTextSearchable (
> 0.54.0)
FlipperKit/FlipperKitNetworkPlugin (> 0.54.0)
FlipperKit/FlipperKitReactPlugin (
> 0.54.0)
FlipperKit/FlipperKitUserDefaultsPlugin (> 0.54.0)
FlipperKit/SKIOSNetworkPlugin (
> 0.54.0)
Folly (from ../node_modules/react-native/third-party-podspecs/Folly.podspec)
glog (from ../node_modules/react-native/third-party-podspecs/glog.podspec)
iOS-Client-SDK (from https://github.com/Ziggeo/iOS-Client-SDK.git)
RCTRequired (from ../node_modules/react-native/Libraries/RCTRequired)
RCTTypeSafety (from ../node_modules/react-native/Libraries/TypeSafety)
React (from ../node_modules/react-native/)
React-callinvoker (from ../node_modules/react-native/ReactCommon/callinvoker)
React-Core (from ../node_modules/react-native/)
React-Core/DevSupport (from ../node_modules/react-native/)
React-Core/RCTWebSocket (from ../node_modules/react-native/)
React-CoreModules (from ../node_modules/react-native/React/CoreModules)
React-cxxreact (from ../node_modules/react-native/ReactCommon/cxxreact)
React-jsi (from ../node_modules/react-native/ReactCommon/jsi)
React-jsiexecutor (from ../node_modules/react-native/ReactCommon/jsiexecutor)
React-jsinspector (from ../node_modules/react-native/ReactCommon/jsinspector)
react-native-flipper (from ../node_modules/react-native-flipper)
React-RCTActionSheet (from ../node_modules/react-native/Libraries/ActionSheetIOS)
React-RCTAnimation (from ../node_modules/react-native/Libraries/NativeAnimation)
React-RCTBlob (from ../node_modules/react-native/Libraries/Blob)
React-RCTImage (from ../node_modules/react-native/Libraries/Image)
React-RCTLinking (from ../node_modules/react-native/Libraries/LinkingIOS)
React-RCTNetwork (from ../node_modules/react-native/Libraries/Network)
React-RCTSettings (from ../node_modules/react-native/Libraries/Settings)
React-RCTText (from ../node_modules/react-native/Libraries/Text)
React-RCTVibration (from ../node_modules/react-native/Libraries/Vibration)
ReactCommon/turbomodule/core (from ../node_modules/react-native/ReactCommon)
Yoga (from ../node_modules/react-native/ReactCommon/yoga)
ZiggeoRN (from ../node_modules/react-native-ziggeo-library)
SPEC REPOS:
trunk:

  • boost-for-react-native
  • CocoaAsyncSocket
  • CocoaLibEvent
  • Flipper
  • Flipper-DoubleConversion
  • Flipper-Folly
  • Flipper-Glog
  • Flipper-PeerTalk
  • Flipper-RSocket
  • FlipperKit
  • GoogleAds-IMA-iOS-SDK
  • OpenSSL-Universal
  • YogaKit

EXTERNAL SOURCES:
DoubleConversion:
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
FBLazyVector:
:path: "../node_modules/react-native/Libraries/FBLazyVector"
FBReactNativeSpec:
:path: "../node_modules/react-native/Libraries/FBReactNativeSpec"
Folly:
:podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec"
glog:
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
iOS-Client-SDK:
:git: https://github.com/Ziggeo/iOS-Client-SDK.git
RCTRequired:
:path: "../node_modules/react-native/Libraries/RCTRequired"
RCTTypeSafety:
:path: "../node_modules/react-native/Libraries/TypeSafety"
React:
:path: "../node_modules/react-native/"
React-callinvoker:
:path: "../node_modules/react-native/ReactCommon/callinvoker"
React-Core:
:path: "../node_modules/react-native/"
React-CoreModules:
:path: "../node_modules/react-native/React/CoreModules"
React-cxxreact:
:path: "../node_modules/react-native/ReactCommon/cxxreact"
React-jsi:
:path: "../node_modules/react-native/ReactCommon/jsi"
React-jsiexecutor:
:path: "../node_modules/react-native/ReactCommon/jsiexecutor"
React-jsinspector:
:path: "../node_modules/react-native/ReactCommon/jsinspector"
react-native-flipper:
:path: "../node_modules/react-native-flipper"
React-RCTActionSheet:
:path: "../node_modules/react-native/Libraries/ActionSheetIOS"
React-RCTAnimation:
:path: "../node_modules/react-native/Libraries/NativeAnimation"
React-RCTBlob:
:path: "../node_modules/react-native/Libraries/Blob"
React-RCTImage:
:path: "../node_modules/react-native/Libraries/Image"
React-RCTLinking:
:path: "../node_modules/react-native/Libraries/LinkingIOS"
React-RCTNetwork:
:path: "../node_modules/react-native/Libraries/Network"
React-RCTSettings:
:path: "../node_modules/react-native/Libraries/Settings"
React-RCTText:
:path: "../node_modules/react-native/Libraries/Text"
React-RCTVibration:
:path: "../node_modules/react-native/Libraries/Vibration"
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
Yoga:
:path: "../node_modules/react-native/ReactCommon/yoga"
ZiggeoRN:
:path: "../node_modules/react-native-ziggeo-library"

CHECKOUT OPTIONS:
iOS-Client-SDK:
:commit: 57a8cc6e258f195eb3c9cafe66af9742046e840d
:git: https://github.com/Ziggeo/iOS-Client-SDK.git

SPEC CHECKSUMS:
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
CocoaLibEvent: 2fab71b8bd46dd33ddb959f7928ec5909f838e3f
DoubleConversion: cde416483dac037923206447da6e1454df403714
FBLazyVector: 878b59e31113e289e275165efbe4b54fa614d43d
FBReactNativeSpec: 7da9338acfb98d4ef9e5536805a0704572d33c2f
Flipper: be611d4b742d8c87fbae2ca5f44603a02539e365
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
Flipper-Folly: e4493b013c02d9347d5e0cb4d128680239f6c78a
Flipper-Glog: 1dfd6abf1e922806c52ceb8701a3599a79a200a6
Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
Flipper-RSocket: a3acb8812d6adf127deb0a5edae2793b97e6b641
FlipperKit: ab353d41aea8aae2ea6daaf813e67496642f3d7d
Folly: b73c3869541e86821df3c387eb0af5f65addfab4
glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3
GoogleAds-IMA-iOS-SDK: 134b35758455576aaa6b3d2d3146699dcf8af4f1
iOS-Client-SDK: 412f588cdfeb407885b4e9d6c3322d2f6f275a04
OpenSSL-Universal: ff34003318d5e1163e9529b08470708e389ffcdd
RCTRequired: 48884c74035a0b5b76dbb7a998bd93bcfc5f2047
RCTTypeSafety: edf4b618033c2f1c5b7bc3d90d8e085ed95ba2ab
React: f36e90f3ceb976546e97df3403e37d226f79d0e3
React-callinvoker: 18874f621eb96625df7a24a7dc8d6e07391affcd
React-Core: ac3d816b8e3493970153f4aaf0cff18af0bb95e6
React-CoreModules: 4016d3a4e518bcfc4f5a51252b5a05692ca6f0e1
React-cxxreact: ffc9129013b87cb36cf3f30a86695a3c397b0f99
React-jsi: df07aa95b39c5be3e41199921509bfa929ed2b9d
React-jsiexecutor: b56c03e61c0dd5f5801255f2160a815f4a53d451
React-jsinspector: 8e68ffbfe23880d3ee9bafa8be2777f60b25cbe2
react-native-flipper: 2a212eb0fead9ae9b42d1eb75604757cdf36f2bb
React-RCTActionSheet: 53ea72699698b0b47a6421cb1c8b4ab215a774aa
React-RCTAnimation: 1befece0b5183c22ae01b966f5583f42e69a83c2
React-RCTBlob: 0b284339cbe4b15705a05e2313a51c6d8b51fa40
React-RCTImage: d1756599ebd4dc2cb19d1682fe67c6b976658387
React-RCTLinking: 9af0a51c6d6a4dd1674daadafffc6d03033a6d18
React-RCTNetwork: 332c83929cc5eae0b3bbca4add1d668e1fc18bda
React-RCTSettings: d6953772cfd55f2c68ad72b7ef29efc7ec49f773
React-RCTText: 65a6de06a7389098ce24340d1d3556015c38f746
React-RCTVibration: 8e9fb25724a0805107fc1acc9075e26f814df454
ReactCommon: 4167844018c9ed375cc01a843e9ee564399e53c3
Yoga: 7d13633d129fd179e01b8953d38d47be90db185a
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
ZiggeoRN: f4db8a0ccde6f1ee509e1134efd43caa80a61768

PODFILE CHECKSUM: 74fa27552e85a2c434d1a4a24f5eb5c5d1b78b62

COCOAPODS: 1.10.0

Unsupported events on iOS

In the following code I developped Android first, everything works fine, but on iOS some events are unsupported. Pretty sure I can bypass them to make the progression UI still work, but since there is no mentions of this not being supported on iOS this is either an unknown bug or a undocumented limitation

Sample code

record = async () => {
    Ziggeo.setAppToken(ZIGGEO_APP_TOKEN);
    Ziggeo.setCameraSwitchEnabled(true);
    Ziggeo.setCoverSelectorEnabled(true);
    Ziggeo.setCamera(Ziggeo.REAR_CAMERA);

    const recorderEmitter = Ziggeo.recorderEmitter();

    this.watchEmitter(recorderEmitter);

    this.setState({ currentState: CommunicationVideo.STATE.RECORDING }, this.onStatusUpdated);

    try {
        const token = await Ziggeo.record();

        this.setState({ token }, this.onTokenUpdated);
    } catch (_) {
        await this.delete();
    }
}

watchEmitter = emitter => {
    emitter.addListener('UploadProgress', this.onUploadProgress);

    emitter.addListener('Uploaded', this.onUploaded);

    emitter.addListener('Processing', this.onProcessing);

    emitter.addListener('Processed', this.onProcessed);
};

Error in Xcode console

2021-07-22 11:12:28.661988-0400 ActivixCRM.Dev[808:132222] [native] `Uploaded` is not a supported event type for RCTZiggeoRecorder. Supported events are: `UploadProgress`, `RecordingStopped`
2021-07-22 11:12:28.675858-0400 ActivixCRM.Dev[808:132222] [native] `Processing` is not a supported event type for RCTZiggeoRecorder. Supported events are: `UploadProgress`, `RecordingStopped`
2021-07-22 11:12:28.682069-0400 ActivixCRM.Dev[808:132222] [native] `Processed` is not a supported event type for RCTZiggeoRecorder. Supported events are: `UploadProgress`, `RecordingStopped`

Ziggeo.setCamera() undefined function

As of update 1.5.0 AND 1.5.1
the Ziggeo.setCamera() function calls an undefined function on the native side.

        Ziggeo.setAppToken(ZIGGEO_APP_TOKEN);
        Ziggeo.setCameraSwitchEnabled(true);
        Ziggeo.setCoverSelectorEnabled(true);
        Ziggeo.setCamera(Ziggeo.REAR_CAMERA); // Here it logs a warning and prevent actual record modal from opening. Commenting this fixes it, but we do not have the ability to set default camera.

This has only been tested on Android as of now

Ziggeo.cancelRequest(); not working

We want to prevent uploading and processing when user exits during video upload/processing, but this the cancelRequest function doesnt do anything.

I cancel the request at 50% upload and after a couple of seconds it appears in our dashboard completed.

Expected behavior: After canceling a request, it should NOT appear in dashboard.

react-native-ziggeo-library: 1.5.2

android & ios

IOS current version not working on Apple Silicon

Hi, I recently changed to a M1 mac and since then I can't launch the app on IOS. When I try to lunch the simulator, I have this error:
Screen Shot 2022-01-12 at 1 31 07 PM

And when I try to launch on my device, I end up on my app loading screen but have this error and the app does not connect to my metro bundle: dyld: Library not loaded: dyld: Library not loaded: @rpath/PINOperation.framework/PINOperation

My project still works on my old mac. The package version that use is 1.6.4.

Cannot build android

@oliverfriedmann I did:
step1: npm install react-native-ziggeo-library --save
step2: react-native link
step3: Open up android/build.gradle
Insert the following line inside the allprojects/repositories block:
maven { url 'https://jitpack.io' }
This is my configuration:
buildscript {
ext {
buildToolsVersion = "29.0.3"
minSdkVersion = 21
compileSdkVersion = 30
targetSdkVersion = 30
}
(I cannot change these versions)
The result of "react-native run-android" :
Task :react-native-ziggeo-library:compileDebugKotlin FAILED

ios run failed: The following build commands failed: CompileC ZiggeoRN

Hi, I'm getting this error when trying to run ios. (pod install working successfully)

** BUILD FAILED **

The following build/Users/chend/newproject/ios/Podfile commands failed:
CompileC /Users/chend/Library/Developer/Xcode/DerivedData/newproject-frskhpfjqawsajelejzwsthvdxyd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ZiggeoRN.build/Objects-normal/x86_64/RCTZiggeoRecorder.o /Users/chend/newproject/node_modules/react-native-ziggeo-library/ios/Recorder/RCTZiggeoRecorder.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/chend/Library/Developer/Xcode/DerivedData/newproject-frskhpfjqawsajelejzwsthvdxyd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ZiggeoRN.build/Objects-normal/x86_64/RCTVideos.o /Users/chend/newproject/node_modules/react-native-ziggeo-library/ios/Videos/RCTVideos.m normal x86_64 o/Users/chend/newproject/ios/Podfile.lockbjective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)

This is my code:

Podfile:

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'

target 'newproject' do
config = use_native_modules!

use_react_native!(:path => config["reactNativePath"])

pod 'iOS-Client-SDK', :git => 'https://github.com/Ziggeo/iOS-Client-SDK.git'
target 'newprojectTests' do
inherit! :complete

Pods for testing

end

Enables Flipper.
Note that if you have use_frameworks! enabled, Flipper will not work and
you should disable these next few lines.
use_flipper!({ 'Flipper-Folly' => '2.3.0' })

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
end
end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
end
target 'newproject-tvOS' do

Pods for newproject-tvOS
target 'newproject-tvOSTests' do
inherit! :search_paths

Pods for testing

end
end

Podfile.lock:

PODS:

boost-for-react-native (1.63.0)
CocoaAsyncSocket (7.6.5)
CocoaLibEvent (1.0.0)
DoubleConversion (1.1.6)
FBLazyVector (0.63.3)
FBReactNativeSpec (0.63.3):
Folly (= 2020.01.13.00)
RCTRequired (= 0.63.3)
RCTTypeSafety (= 0.63.3)
React-Core (= 0.63.3)
React-jsi (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
Flipper (0.54.0):
Flipper-Folly (> 2.2)
Flipper-RSocket (
> 1.1)
Flipper-DoubleConversion (1.1.7)
Flipper-Folly (2.3.0):
boost-for-react-native
CocoaLibEvent (> 1.0)
Flipper-DoubleConversion
Flipper-Glog
OpenSSL-Universal (= 1.0.2.20)
Flipper-Glog (0.3.6)
Flipper-PeerTalk (0.0.4)
Flipper-RSocket (1.1.1):
Flipper-Folly (
> 2.3)
FlipperKit (0.54.0):
FlipperKit/Core (= 0.54.0)
FlipperKit/Core (0.54.0):
Flipper (> 0.54.0)
FlipperKit/CppBridge
FlipperKit/FBCxxFollyDynamicConvert
FlipperKit/FBDefines
FlipperKit/FKPortForwarding
FlipperKit/CppBridge (0.54.0):
Flipper (
> 0.54.0)
FlipperKit/FBCxxFollyDynamicConvert (0.54.0):
Flipper-Folly (> 2.2)
FlipperKit/FBDefines (0.54.0)
FlipperKit/FKPortForwarding (0.54.0):
CocoaAsyncSocket (
> 7.6)
Flipper-PeerTalk (> 0.0.4)
FlipperKit/FlipperKitHighlightOverlay (0.54.0)
FlipperKit/FlipperKitLayoutPlugin (0.54.0):
FlipperKit/Core
FlipperKit/FlipperKitHighlightOverlay
FlipperKit/FlipperKitLayoutTextSearchable
YogaKit (
> 1.18)
FlipperKit/FlipperKitLayoutTextSearchable (0.54.0)
FlipperKit/FlipperKitNetworkPlugin (0.54.0):
FlipperKit/Core
FlipperKit/FlipperKitReactPlugin (0.54.0):
FlipperKit/Core
FlipperKit/FlipperKitUserDefaultsPlugin (0.54.0):
FlipperKit/Core
FlipperKit/SKIOSNetworkPlugin (0.54.0):
FlipperKit/Core
FlipperKit/FlipperKitNetworkPlugin
Folly (2020.01.13.00):
boost-for-react-native
DoubleConversion
Folly/Default (= 2020.01.13.00)
glog
Folly/Default (2020.01.13.00):
boost-for-react-native
DoubleConversion
glog
glog (0.3.5)
GoogleAds-IMA-iOS-SDK (3.11.3)
iOS-Client-SDK (1.1.27):
GoogleAds-IMA-iOS-SDK (= 3.11.3)
OpenSSL-Universal (1.0.2.20):
OpenSSL-Universal/Static (= 1.0.2.20)
OpenSSL-Universal/Static (1.0.2.20)
RCTRequired (0.63.3)
RCTTypeSafety (0.63.3):
FBLazyVector (= 0.63.3)
Folly (= 2020.01.13.00)
RCTRequired (= 0.63.3)
React-Core (= 0.63.3)
React (0.63.3):
React-Core (= 0.63.3)
React-Core/DevSupport (= 0.63.3)
React-Core/RCTWebSocket (= 0.63.3)
React-RCTActionSheet (= 0.63.3)
React-RCTAnimation (= 0.63.3)
React-RCTBlob (= 0.63.3)
React-RCTImage (= 0.63.3)
React-RCTLinking (= 0.63.3)
React-RCTNetwork (= 0.63.3)
React-RCTSettings (= 0.63.3)
React-RCTText (= 0.63.3)
React-RCTVibration (= 0.63.3)
React-callinvoker (0.63.3)
React-Core (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default (= 0.63.3)
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/CoreModulesHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/Default (0.63.3):
Folly (= 2020.01.13.00)
glog
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/DevSupport (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default (= 0.63.3)
React-Core/RCTWebSocket (= 0.63.3)
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
React-jsinspector (= 0.63.3)
Yoga
React-Core/RCTActionSheetHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTAnimationHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTBlobHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTImageHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTLinkingHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTNetworkHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTSettingsHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTTextHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTVibrationHeaders (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-Core/RCTWebSocket (0.63.3):
Folly (= 2020.01.13.00)
glog
React-Core/Default (= 0.63.3)
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsiexecutor (= 0.63.3)
Yoga
React-CoreModules (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
RCTTypeSafety (= 0.63.3)
React-Core/CoreModulesHeaders (= 0.63.3)
React-jsi (= 0.63.3)
React-RCTImage (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-cxxreact (0.63.3):
boost-for-react-native (= 1.63.0)
DoubleConversion
Folly (= 2020.01.13.00)
glog
React-callinvoker (= 0.63.3)
React-jsinspector (= 0.63.3)
React-jsi (0.63.3):
boost-for-react-native (= 1.63.0)
DoubleConversion
Folly (= 2020.01.13.00)
glog
React-jsi/Default (= 0.63.3)
React-jsi/Default (0.63.3):
boost-for-react-native (= 1.63.0)
DoubleConversion
Folly (= 2020.01.13.00)
glog
React-jsiexecutor (0.63.3):
DoubleConversion
Folly (= 2020.01.13.00)
glog
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
React-jsinspector (0.63.3)
react-native-flipper (0.113.0):
React-Core
React-RCTActionSheet (0.63.3):
React-Core/RCTActionSheetHeaders (= 0.63.3)
React-RCTAnimation (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
RCTTypeSafety (= 0.63.3)
React-Core/RCTAnimationHeaders (= 0.63.3)
React-jsi (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-RCTBlob (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
React-Core/RCTBlobHeaders (= 0.63.3)
React-Core/RCTWebSocket (= 0.63.3)
React-jsi (= 0.63.3)
React-RCTNetwork (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-RCTImage (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
RCTTypeSafety (= 0.63.3)
React-Core/RCTImageHeaders (= 0.63.3)
React-jsi (= 0.63.3)
React-RCTNetwork (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-RCTLinking (0.63.3):
FBReactNativeSpec (= 0.63.3)
React-Core/RCTLinkingHeaders (= 0.63.3)
React-jsi (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-RCTNetwork (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
RCTTypeSafety (= 0.63.3)
React-Core/RCTNetworkHeaders (= 0.63.3)
React-jsi (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-RCTSettings (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
RCTTypeSafety (= 0.63.3)
React-Core/RCTSettingsHeaders (= 0.63.3)
React-jsi (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
React-RCTText (0.63.3):
React-Core/RCTTextHeaders (= 0.63.3)
React-RCTVibration (0.63.3):
FBReactNativeSpec (= 0.63.3)
Folly (= 2020.01.13.00)
React-Core/RCTVibrationHeaders (= 0.63.3)
React-jsi (= 0.63.3)
ReactCommon/turbomodule/core (= 0.63.3)
ReactCommon/turbomodule/core (0.63.3):
DoubleConversion
Folly (= 2020.01.13.00)
glog
React-callinvoker (= 0.63.3)
React-Core (= 0.63.3)
React-cxxreact (= 0.63.3)
React-jsi (= 0.63.3)
Yoga (1.14.0)
YogaKit (1.18.1):
Yoga (~> 1.14)
ZiggeoRN (1.4.3):
iOS-Client-SDK
React-Core
DEPENDENCIES:

DoubleConversion (from ../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec)
FBLazyVector (from ../node_modules/react-native/Libraries/FBLazyVector)
FBReactNativeSpec (from ../node_modules/react-native/Libraries/FBReactNativeSpec)
Flipper (> 0.54.0)
Flipper-DoubleConversion (= 1.1.7)
Flipper-Folly (= 2.3.0)
Flipper-Glog (= 0.3.6)
Flipper-PeerTalk (
> 0.0.4)
Flipper-RSocket (> 1.1)
FlipperKit (
> 0.54.0)
FlipperKit/Core (> 0.54.0)
FlipperKit/CppBridge (
> 0.54.0)
FlipperKit/FBCxxFollyDynamicConvert (> 0.54.0)
FlipperKit/FBDefines (
> 0.54.0)
FlipperKit/FKPortForwarding (> 0.54.0)
FlipperKit/FlipperKitHighlightOverlay (
> 0.54.0)
FlipperKit/FlipperKitLayoutPlugin (> 0.54.0)
FlipperKit/FlipperKitLayoutTextSearchable (
> 0.54.0)
FlipperKit/FlipperKitNetworkPlugin (> 0.54.0)
FlipperKit/FlipperKitReactPlugin (
> 0.54.0)
FlipperKit/FlipperKitUserDefaultsPlugin (> 0.54.0)
FlipperKit/SKIOSNetworkPlugin (
> 0.54.0)
Folly (from ../node_modules/react-native/third-party-podspecs/Folly.podspec)
glog (from ../node_modules/react-native/third-party-podspecs/glog.podspec)
iOS-Client-SDK (from https://github.com/Ziggeo/iOS-Client-SDK.git)
RCTRequired (from ../node_modules/react-native/Libraries/RCTRequired)
RCTTypeSafety (from ../node_modules/react-native/Libraries/TypeSafety)
React (from ../node_modules/react-native/)
React-callinvoker (from ../node_modules/react-native/ReactCommon/callinvoker)
React-Core (from ../node_modules/react-native/)
React-Core/DevSupport (from ../node_modules/react-native/)
React-Core/RCTWebSocket (from ../node_modules/react-native/)
React-CoreModules (from ../node_modules/react-native/React/CoreModules)
React-cxxreact (from ../node_modules/react-native/ReactCommon/cxxreact)
React-jsi (from ../node_modules/react-native/ReactCommon/jsi)
React-jsiexecutor (from ../node_modules/react-native/ReactCommon/jsiexecutor)
React-jsinspector (from ../node_modules/react-native/ReactCommon/jsinspector)
react-native-flipper (from ../node_modules/react-native-flipper)
React-RCTActionSheet (from ../node_modules/react-native/Libraries/ActionSheetIOS)
React-RCTAnimation (from ../node_modules/react-native/Libraries/NativeAnimation)
React-RCTBlob (from ../node_modules/react-native/Libraries/Blob)
React-RCTImage (from ../node_modules/react-native/Libraries/Image)
React-RCTLinking (from ../node_modules/react-native/Libraries/LinkingIOS)
React-RCTNetwork (from ../node_modules/react-native/Libraries/Network)
React-RCTSettings (from ../node_modules/react-native/Libraries/Settings)
React-RCTText (from ../node_modules/react-native/Libraries/Text)
React-RCTVibration (from ../node_modules/react-native/Libraries/Vibration)
ReactCommon/turbomodule/core (from ../node_modules/react-native/ReactCommon)
Yoga (from ../node_modules/react-native/ReactCommon/yoga)
ZiggeoRN (from ../node_modules/react-native-ziggeo-library)
SPEC REPOS:
trunk:

  • boost-for-react-native
  • CocoaAsyncSocket
  • CocoaLibEvent
  • Flipper
  • Flipper-DoubleConversion
  • Flipper-Folly
  • Flipper-Glog
  • Flipper-PeerTalk
  • Flipper-RSocket
  • FlipperKit
  • GoogleAds-IMA-iOS-SDK
  • OpenSSL-Universal
  • YogaKit

EXTERNAL SOURCES:
DoubleConversion:
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
FBLazyVector:
:path: "../node_modules/react-native/Libraries/FBLazyVector"
FBReactNativeSpec:
:path: "../node_modules/react-native/Libraries/FBReactNativeSpec"
Folly:
:podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec"
glog:
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
iOS-Client-SDK:
:git: https://github.com/Ziggeo/iOS-Client-SDK.git
RCTRequired:
:path: "../node_modules/react-native/Libraries/RCTRequired"
RCTTypeSafety:
:path: "../node_modules/react-native/Libraries/TypeSafety"
React:
:path: "../node_modules/react-native/"
React-callinvoker:
:path: "../node_modules/react-native/ReactCommon/callinvoker"
React-Core:
:path: "../node_modules/react-native/"
React-CoreModules:
:path: "../node_modules/react-native/React/CoreModules"
React-cxxreact:
:path: "../node_modules/react-native/ReactCommon/cxxreact"
React-jsi:
:path: "../node_modules/react-native/ReactCommon/jsi"
React-jsiexecutor:
:path: "../node_modules/react-native/ReactCommon/jsiexecutor"
React-jsinspector:
:path: "../node_modules/react-native/ReactCommon/jsinspector"
react-native-flipper:
:path: "../node_modules/react-native-flipper"
React-RCTActionSheet:
:path: "../node_modules/react-native/Libraries/ActionSheetIOS"
React-RCTAnimation:
:path: "../node_modules/react-native/Libraries/NativeAnimation"
React-RCTBlob:
:path: "../node_modules/react-native/Libraries/Blob"
React-RCTImage:
:path: "../node_modules/react-native/Libraries/Image"
React-RCTLinking:
:path: "../node_modules/react-native/Libraries/LinkingIOS"
React-RCTNetwork:
:path: "../node_modules/react-native/Libraries/Network"
React-RCTSettings:
:path: "../node_modules/react-native/Libraries/Settings"
React-RCTText:
:path: "../node_modules/react-native/Libraries/Text"
React-RCTVibration:
:path: "../node_modules/react-native/Libraries/Vibration"
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
Yoga:
:path: "../node_modules/react-native/ReactCommon/yoga"
ZiggeoRN:
:path: "../node_modules/react-native-ziggeo-library"

CHECKOUT OPTIONS:
iOS-Client-SDK:
:commit: 57a8cc6e258f195eb3c9cafe66af9742046e840d
:git: https://github.com/Ziggeo/iOS-Client-SDK.git

SPEC CHECKSUMS:
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
CocoaLibEvent: 2fab71b8bd46dd33ddb959f7928ec5909f838e3f
DoubleConversion: cde416483dac037923206447da6e1454df403714
FBLazyVector: 878b59e31113e289e275165efbe4b54fa614d43d
FBReactNativeSpec: 7da9338acfb98d4ef9e5536805a0704572d33c2f
Flipper: be611d4b742d8c87fbae2ca5f44603a02539e365
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
Flipper-Folly: e4493b013c02d9347d5e0cb4d128680239f6c78a
Flipper-Glog: 1dfd6abf1e922806c52ceb8701a3599a79a200a6
Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
Flipper-RSocket: a3acb8812d6adf127deb0a5edae2793b97e6b641
FlipperKit: ab353d41aea8aae2ea6daaf813e67496642f3d7d
Folly: b73c3869541e86821df3c387eb0af5f65addfab4
glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3
GoogleAds-IMA-iOS-SDK: 134b35758455576aaa6b3d2d3146699dcf8af4f1
iOS-Client-SDK: 412f588cdfeb407885b4e9d6c3322d2f6f275a04
OpenSSL-Universal: ff34003318d5e1163e9529b08470708e389ffcdd
RCTRequired: 48884c74035a0b5b76dbb7a998bd93bcfc5f2047
RCTTypeSafety: edf4b618033c2f1c5b7bc3d90d8e085ed95ba2ab
React: f36e90f3ceb976546e97df3403e37d226f79d0e3
React-callinvoker: 18874f621eb96625df7a24a7dc8d6e07391affcd
React-Core: ac3d816b8e3493970153f4aaf0cff18af0bb95e6
React-CoreModules: 4016d3a4e518bcfc4f5a51252b5a05692ca6f0e1
React-cxxreact: ffc9129013b87cb36cf3f30a86695a3c397b0f99
React-jsi: df07aa95b39c5be3e41199921509bfa929ed2b9d
React-jsiexecutor: b56c03e61c0dd5f5801255f2160a815f4a53d451
React-jsinspector: 8e68ffbfe23880d3ee9bafa8be2777f60b25cbe2
react-native-flipper: 2a212eb0fead9ae9b42d1eb75604757cdf36f2bb
React-RCTActionSheet: 53ea72699698b0b47a6421cb1c8b4ab215a774aa
React-RCTAnimation: 1befece0b5183c22ae01b966f5583f42e69a83c2
React-RCTBlob: 0b284339cbe4b15705a05e2313a51c6d8b51fa40
React-RCTImage: d1756599ebd4dc2cb19d1682fe67c6b976658387
React-RCTLinking: 9af0a51c6d6a4dd1674daadafffc6d03033a6d18
React-RCTNetwork: 332c83929cc5eae0b3bbca4add1d668e1fc18bda
React-RCTSettings: d6953772cfd55f2c68ad72b7ef29efc7ec49f773
React-RCTText: 65a6de06a7389098ce24340d1d3556015c38f746
React-RCTVibration: 8e9fb25724a0805107fc1acc9075e26f814df454
ReactCommon: 4167844018c9ed375cc01a843e9ee564399e53c3
Yoga: 7d13633d129fd179e01b8953d38d47be90db185a
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
ZiggeoRN: f4db8a0ccde6f1ee509e1134efd43caa80a61768

PODFILE CHECKSUM: 74fa27552e85a2c434d1a4a24f5eb5c5d1b78b62

COCOAPODS: 1.10.0

Ziggeo.play() crashes the app

Hello @3akat, Now another issue pops up

try {
      //record and upload the video and return its token
      var token = await Ziggeo.record();
      console.log("Token:" + token);
      if (token) {
        Ziggeo.play(token);  // app crashes here
      }
    } catch (e) {
      //recorder error or recording was cancelled by user
      alert(e);
    }
When the Ziggeo.record function finishes it crashes the app.
(This has happened in an android real device and when tried in an ios simulator nothing has happened at all neither playing nor crashing) 

iOS Ziggeo.VideosApi.update not resolving/throwing

We need to set customData to the sent video (recording or uploads), we also add the mobile tag in case we need to debug something and know where it is coming from.

I have contacted the support a couple weeks ago and they said to use "Ziggeo.setExtraArgsForRecorder" which worked for recordings but not uploads. (also can't remember if tags worked or not)

So I found out I can update the video with it's token to add these values.

Unfortunately, this is not working anymore.. It might be because of this other issue.

Though there is still a problem with the actual function.
The function never ends. It is never resolved and it doesn't ever throw an Error.

Haven't run into this issue on Android. Currently testing on Iphone 12 mini, iOS - 14.6

setEventListeners = () => {
    const emitter = Ziggeo.recorderEmitter();

    emitter.addListener('UploadProgress', this.onUploadProgress);
    // as per other issue, no other events are working.
};

upload = async () => {
    Ziggeo.setAppToken(ZIGGEO_APP_TOKEN);

    this.setEventListeners();

    this.setState({ currentState: VideoCommunication.STATUS.SELECTING_FILE }, this.onStatusUpdated);

    try {
        const token = await Ziggeo.uploadFromFileSelector(); // I think something changed here since v1.5.0, it resolves the token when file has been Uploaded instead of when it is Processed

        await this.onProcessed({ token });
    } catch (_) {
        await this.delete();
    }
}

onProcessed = async ({ token }) => {
    const thumbnail = VideoCommunication.uri.video.thumbnail(token);
    const { width, height } = await getImageSize(thumbnail);

    const updatePayload = {
        tags: ['mobile'],
        data: JSON.stringify(this.props.customData),
    };

    try {
        await Ziggeo.VideosApi.update(token, JSON.stringify(updatePayload)); // Code gets stuck here on iOS..
    } catch (error) {
        LogHandler.logError(error, 'Could not update Ziggeo Video', {
            token,
            updatePayload,
        });
    }

    this.setState({
        token,
        currentState: VideoCommunication.STATUS.PROCESSED,
        source: {
            uri: VideoCommunication.uri.video.thumbnail(token),
            width,
            height,
        },
    }, () => {
        this.onTokenUpdated();
        this.onStatusUpdated();
    });
}

[email protected]

Error when trying to build the React Naive demo project on iOS

HI (-:
I've just cloned the React Native demo project, followed the exact steps for running it and I am getting the error:

Showing All Messages
/Users/yaron/dev/ReactNativeDemo/node_modules/react-native-ziggeo-library/ios/RCTZiggeoRecorder.m:63:22: No visible @interface for 'ZiggeoConfig' declares the selector 'setRecorderCacheConfig:'

CleanShot 2021-10-10 at 22 04 05@2x

Any help would be very appreciated!

uploadFromPath throwing unknown error

I was trying out this feature with a combination of react-native-camera (rnc) and react-native-document-picker (rndp) and it does not work.

When I record with rnc I get a response with the file's uri where it is stored. To make sure this file was in fact a working video, I tried react-native-video and everything played as expected. But sending through uploadFromPath throws an error. (see below)

I tried using a file picker, rndp, in-case this has to do with the type of file rnc made. But it still did not work. The parameter name is "fileName" which maybe would mean it doesn't want a uri but the actual fileName. So I passed the fileName instead of the uri from the file picker and it still didn't work.

Lastly, I though, maybe it can't load the file for some reason, so I event tried converting the fileURI to a base64 representation of the video file. Still did not work.

Dependencies:

"react": "17.0.1",
"react-native": "^0.64.2",
"react-native-camera": "^3.44.3",
"react-native-fs": "^2.16.6", // For base64 encoding
"react-native-document-picker": "^5.2.0"
"react-native-ziggeo-library": "^1.4.35", // Tried everything 1.4.31 >=

Code sample

    send = async fileURI => {
        Ziggeo.setAppToken(ZIGGEO_APP_TOKEN);
        const recorderEmitter = Ziggeo.recorderEmitter();
        this.watchEmitter(recorderEmitter);

        try {
            const token = await Ziggeo.uploadFromPath(fileURI, {
                // tags: 'dsdsd',
                // expiration_days: 1,
                // video_profile: '_video_profile_lightweight',
                // auto_pad: true,
                // data: '{"source":"app"}',
            });

            if (token) {
                Ziggeo.play(token);
            }

            this.setState({ token }, this.onTokenUpdated);
        } catch (error) {
            console.error(error);
            await this.delete();
        }
    }

console.error log
ios: [Error: unknown recorder error]
android: [Error: ${fileURI}]

iOS not working in React Native Navigation's modal

I am having issues using the iOS part of the package.

Affected devices: iPhone 11 simulator, iPhone 12 simulator, iPhone 12 mini (real device)

Versions:
react-native: 0.64.2,
react-native-ziggeo-library: 1.4.31, // Also tried 1.4.36 and 1.4.3-6-pf1, but they wouldn't build

I completed a project on Android and everything is working with the above versions. When I get on iOS nothing is triggered.

I have 2 buttons: [ Record ] and [ Upload ]. They both have a console.log with their name inside the callback to validate that they are being called.

On android, Record opens the Ziggeo back camera and Upload opens the Ziggeo file explorer.

On iOS, both button does nothing, except console.log (see above), I don't get any warnings or errors from ziggeo.

I do not have any errors during build phase either

Ziggeo.h not found at ios/RCTZiggeoRecorder.h

I'm trying to deploy an iOS app, following all the instructions, readme files and old issues, also checked the example app and it builds perfectly.

When I try to build (to an emulator), I get this error message:

(...)/node_modules/react-native-ziggeo-library/ios/RCTZiggeoRecorder.h:12:9: fatal error: 'Ziggeo/Ziggeo.h' file not found
#import <Ziggeo/Ziggeo.h>

I think there's a route mismatch, IDK really. Please help me, I'm finally deploying!

issues with Ziggeo.playVideo() and Ziggeo.VideosApi.getVideoUrl()

ISSUE 1:
Ziggeo.playVideo("VIDEO_TOKEN") gives me an error "TypeError: ZiggeoPlayer.playVideo is not a function", which is happening in "ANDROID". ( In ios simulator it's working fine)

ISSUE 2:
Ziggeo.VideosApi.getVideoUrl("VIDEO_TOKEN") gives me an error "TypeError: Videos.getVideoUrl is not a function", which is happening in "IOS SIMULATOR". ( In android it's working fine)

Suggest any workaround at least for any of these issues or please try to fix these as soon as you can. Thank you

Android performance issue during video upload/processing

Android 10
Huawei p20
react-native 0.64.2
react 17.0.1
react-native-ziggeo-library 1.5.2
javascript engine: hermes

I noticed this problem when we initialy started the project a couple months ago on 1.4.31. I thought nothing of it really, maybe unoptimized code or something for our progress state / progress bar style.

While trying to test this issue on android, I had to try and fix this performance issue. So I disabled every frequent state change and removed our progress bar from render and the app is still unresponsive.

By unresponsive, I mean that everything that is pressable does not work, a ScrollView does work though. This leaves me to believe that native code works and the javascript thread might be locked somehow. This is only a hypothesis as progress bar re-render does work. Maybe it is unlocked for miliseconds before locking again.

iOS works flawlessly with/without progress bar / progress state update

Update Package (Build Fail - iOS)

When I try to update ziggeo-package to latest version 1.2.0. I get few errors which cause the xcode build fail. I guess this happens because of the new fixes and features added to the package. please refer to the following screenshots.

screen shot 2018-08-08 at 5 51 51 pm

and when I try to uncomment that else block. It creates new error with quality feature that has been created 7days ago I suppose.

screen shot 2018-08-08 at 5 56 02 pm

Please guide in details how should we upgrade the package. Thanks :)
.

Exiting app while on record screen causes the app to stuck

Hi (-:

I hope you are feeling well.

Happens on Android.

Repo with the bug.

After starting a new recording by calling await Ziggeo.record();, if you try to move the app to the background (for example by going to the home of your phone) when you come back to the app, it's now stuck you can only get out of this state by force closing the app.

Step 1 - open the record screen (you don't have to start a new recording)

Screenshot_20200416-223642

Step 2 - Press the home button of the phone and then open the app again. Now you'll see a black screen and the app is stuck. It sometimes also happens when you lock the phone and unlock it.

Screenshot_20200416-223550

UploadFromPath with args doesn't work on iOS

Related to issue 26.

We are using uploadFromPath method and it is working fine on Android but videos uploaded with iOS don't take the parameters into account (video is received by Ziggeo but it doesn't have any of the parameters we set).

This is our code:

var argsMap = {
      tags: nicename,
      expiration_days: 1,
      video_profile: "_video_profile_lightweight",
      auto_pad: true,
      data: '{"source":"app"}'
    };

var token = await Ziggeo.uploadFromPath(fileURI.substring(7), argsMap);

We inspected RCTZiggeoRecorder.m and in the method uploadFromPath, the map parameter is only passed to applyAdditionalParams but this method only sets max_duration and enforce_duration. So, any other additional parameters are not taken into account as we experienced.

We tried using setExtraArgsForRecorder as a workaround but the app crashes when trying to upload.

We'd really appreciate if you could help us with this issue. Thanks!

Installation problems

The lastests version of the package are having difficulties installing on iOS.

I am currently trying to install the lastest version as of today (1.4.3-6.pf1)

Screen Shot 2021-07-22 at 10 42 33 AM

This also happens with 1.4.36.

The versions I was able to install are 1.4.31 and 1.4.35


Also for the Podfile the following is not working

  pod 'ZiggeoRN', :git => 'https://github.com/Ziggeo/ReactNativeSDK.git'
  pod 'iOS-Client-SDK', :git => 'https://github.com/Ziggeo/iOS-Client-SDK.git'

But this fixes the installation of pods

  pod 'iOS-Client-SDK', :git => 'https://github.com/Ziggeo/iOS-Client-SDK.git'

Since ZiggeoRN come with the npm package, it gets auto added to pods by react-native.

Here is an error thrown by pod install

[!] There are multiple dependencies with different sources for `ZiggeoRN` in `Podfile`:

- ZiggeoRN (from `../node_modules/react-native-ziggeo-library`)
- ZiggeoRN (from `https://github.com/Ziggeo/ReactNativeSDK.git`)

Cannot build iOS with iOS-Client-SDK 1.1.30

Hey, it's me again..

pod 'iOS-Client-SDK', :git => 'https://github.com/Ziggeo/iOS-Client-SDK.git'

The current latest native code for iOS breaks the package, again...

Current fix:

Change this:
pod 'iOS-Client-SDK', :git => 'https://github.com/Ziggeo/iOS-Client-SDK.git'

to this:
pod 'iOS-Client-SDK', :git => 'https://github.com/Ziggeo/iOS-Client-SDK.git', :commit => '295f90fc8777ebe63135359e20fa144409d02e54' (downgrade back to "1.1.29" commit)

I wish the iOS-Client-SDK is not a git dependancy but included INSIDE the package. This will allow auto-linking and remove the need to manually add in Podfile, but most importantly prevent any "random" sudden breaking changes..

Ziggeo.VideosApi.destroy not working

Sample code

delete = async () => {
        if (!this.state.token) {
            return;
        }

        Ziggeo.cancelRequest();

        try {
            await Ziggeo.VideosApi.destroy(this.state.token);
        } catch (error) {
            console.error(error); // [Error: Error not specified.]
        }

        this.setState({ token: null, currentState: VideoCommunication.STATE.NULL }, () => {
            this.onTokenUpdated();
            this.onStatusUpdated();
        });
    }

After a video has been fully uploaded/processed, we have the ability to delete the video. Though, the API isn't working properly which is throwing an unspecified error as commented in sample code.

Additional info:

  • Android: 10
  • React native: 0.64.2
  • react-native-ziggeo-library: 1.4.35 (As per other issue, I cannot install 1.4.36)

Video should have sound even iphone is silent from the side button

Hye,
I would like to ask whether this functionality is supported by this package?

For example in youtube app, when I open the video and play it, then I silent the Iphone from the side button, the video sound still on and I wonder if I can do the same with this package using ziggeo as of right now, when I silent the Iphone using side button, my video inside the app also got silent.

Thanks!

Upload not working anymore ?

react-native: 0.47.2
react-native-ziggeo-library: 1.1.7

The project is running perfectly before this.. once I try to update to ziggeo 1.3.0, i get error once called upload.. and I unlink and uninstall back the package and go back to 1.1.7 also upload still not working.. same error. does upload already not being exposed or change the name ? videoplayer is working fine

TypeError: _reactNativeZiggeoLibrary2.default.upload is not a function at ZiggeoUpload._this.uploadToZiggeo (ZiggeoUpload.js:64) at ZiggeoUpload._this.componentDidMount (ZiggeoUpload.js:45) at ReactNativeStack-dev.js:1658 at measureLifeCyclePerf (ReactNativeStack-dev.js:1610) at ReactNativeStack-dev.js:1657 at CallbackQueue.notifyAll (ReactNativeStack-dev.js:2121) at ReactNativeReconcileTransaction.close (ReactNativeStack-dev.js:2138) at ReactNativeReconcileTransaction.closeAll (ReactNativeStack-dev.js:1412) at ReactNativeReconcileTransaction.perform (ReactNativeStack-dev.js:1388) at ReactUpdatesFlushTransaction.perform (ReactNativeStack-dev.js:1382)

This is what I have found once I log ziggeo object.. cant seem to find upload

screen shot 2018-12-20 at 4 07 35 pm

please help. thanks!

Instructions on how to use ReactNativeSDK iOS Player

iOS
ZiggeoPlayer

  1. npm install ... and react-native-link... as written in the readme file
  2. go here https://github.com/Ziggeo/iOS-Client-SDK and Clone or Download
  3. in the unzipped folder go to Ziggeo/Output/Release-universal/Ziggeo.framework
  4. drag and drop Ziggeo.framework in xCode Frameworks folder
  5. Make sure Ziggeo.framework is added to Embedded Binaries and Linked Framework sections in your app target settings

6 in Build Phases go to Bundle React Native code and images:
shell: /bin/sh
export NODE_BINARY=node
../node_modules/react-native/scripts/react-native-xcode.sh
check Show environment variables including build log

  1. add #import "Ziggeo/Ziggeo.h" to AppDelegate.m
  2. signup for an account, upload a video and get the token from Video Data

9 video player screen code:

import React, { Component } from 'react';
import {
  View,
  Text,
  StyleSheet,
} from 'react-native';
import Ziggeo from 'react-native-ziggeo-library';

export default class ZiggeoPlayer extends Component {

  componentDidMount() {
    Ziggeo.setAppToken('applicationToken');
    Ziggeo.play('tokenFromVideoData');
  }

  render() {
    return (
      <View />
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
});

...
notes: Video is playing on the player : )

Can't upload from path with args

I'm trying to use uploadFromPath(myVideoUrl,argsMap), where argsMap is an object like this:

var argsMap = {
        tags: "johndoe",
        expiration_days: 1,
        video_profile: "_video_profile_lightweight",
        auto_pad: true,
        data: '{"source":"app"}'
      };

...but it crashes immediately. If I use an empty argsMap, the function works fine. With just one argument, it fails too.

I'm using "react-native": "0.59.2", "react-native-ziggeo-library": "^1.3.8"

UploadFromFile and Record don't return token

Weeks later, I got video tokens when they were uploaded. But now, they just upload.
These token were returned at version 1.3.8, but later I updated to 1.3.9 to solve this issue.

I tried with que example project too, old branches of my project and still have no tokens.

Thank you in advance.

cannot build android (again)

when i tried to build the react native android app I am facing this error
Execution failed for task ':react-native-ziggeo-library:compileDebugKotlin'.
Compilation error. See log for more details

I am facing the same error while building after updating to "react-native-ziggeo-library": "^1.6.1",(which was fixed in v1.5.4)

building for iOS, but linking in dylib file built for iOS Simulator

Hi,

I am trying to use Ziggeo with a react native project. I used the following steps to add this SDK to my project:

  1. npm install react-native-ziggeo-library --save
  2. react-native link
  3. Added pod 'iOS-Client-SDK', :git => 'https://github.com/Ziggeo/iOS-Client-SDK.git' to my Podfile
  4. pod install

I am able to build and run my app in a simulator but when I try to build on a real device I get the following error:

ld: building for iOS, but linking in dylib file (/Users/aaronccwong/Library/Developer/Xcode/DerivedData/project-fktsrvjheewrtvgfacyjdvcmdwnu/Build/Products/Debug-iphoneos/Ziggeo.framework/Ziggeo) built for iOS Simulator, file '/Users/aaronccwong/Library/Developer/Xcode/DerivedData/project-fktsrvjheewrtvgfacyjdvcmdwnu/Build/Products/Debug-iphoneos/Ziggeo.framework/Ziggeo' for architecture arm64

How can I fix this?

How can I create custom UI for your recorder or overlay my own views on top of your recorder?

Hi,

Thanks for making this awesome SDK available! :-)

I would like to do two things with your RN SDK:

  1. Alter your recording controls or create my own to match the look and feel of my app (e.g. button shapes, fonts, colors, etc.)
  2. Overlay a transparent drawing canvas on top of the recorder so that the user can draw shapes (e.g. lines) to highlight certain areas of the videos. I record the timestamp of these and send these drawn shapes to my own server and then time sync them with the recorded video later during playback.

I don't see how to do 1.

I don't think 2 is possible the way you're currently running your recorder because here you present your recorder as a full screen UIViewController which is going to cover the root view controller that's presenting the RN views.

So how can I overlay RN views on top of your Ziggeo recorder? And how can I control the sizing of your ziggeo recorder, if I don't want it to be full screen?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.