Closed diesmori closed 5 years ago
Hi @diesmori! Checking.
Please, take a look at version 1.3.9
.
Make sure to update gradle config for android project:
Open up android/app/build.gradle
and insert the following line inside the android
block:
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
I tried with 1.3.9 version, but then I got some package incompatibilities.
Then, I started anothen project from zero, just installed Ziggeo, step by step, and got error: cannot find symbol import com.ziggeo.ZiggeoPackage;
at MainApplication and MainActivity.
Please check what's going on. The dependencies at package.json are ``` "dependencies": { "react": "16.8.3", "react-native": "0.59.2", "react-native-ziggeo-library": "^1.3.9" }
Thank you in advance.
Please, open
yourApp\android\app\src\main\java\com\reactnativedemo\MainApplication.java
and replace import com.ziggeo.ZiggeoPackage;
with import com.ziggeo.modules.ZiggeoPackage;
Now it works!
I had to deal with this error:
Error:Cannot fit requested classes in a single dex file.Try supplying a main-dex list.
It was managed with THIS
I have some minor issues, but I think it's about my development. Thanks!
Thanks diesmori, will add a note regarding multidex in readme
I'm trying to use
uploadFromPath(myVideoUrl,argsMap)
, where argsMap is an object like this:...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"