Open scdyn opened 6 years ago
@scdyn This looks like an issue with the samples repo because the samples haven't been updated to use the latest plugin.
I just create a sample video chat and added this plugin as a dependency and am able to publish and subscribe successfully. I am not seeing any build failures.
Disagree this is an error introduced on the version 3.4.0
Sent from my iPhone
On Sep 18, 2018, at 6:50 PM, Manik Sachdeva notifications@github.com wrote:
@scdyn This looks like an issue with the samples repo because the samples haven't been updated to use the latest plugin.
I just create a sample video chat and added this plugin as a dependency and am able to publish and subscribe successfully. I am not seeing any build failures.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hmm, can you create a basic sample application using cordova create
and then add the plugin? I did the following and didn't have to modify anything in the plugin to make it work:
cordova create sampleapp
cordova plugin add cordova-plugin-opentok
cordova platform add android
index.html
filecordova prepare android
@scdyn @bpowell15 Can you share any feedback that you have? Would love to see how I can reproduce it so we can patch it if needed.
I dont know much about java but i was able to add “final” to the lines mentioned in the error and build successfully. Also downgrading the version to 3.3.0 and then removing plugins and reintstalling fixes the issue.
Sent from my iPhone
On Sep 19, 2018, at 12:14 PM, Manik Sachdeva notifications@github.com wrote:
@scdyn @bpowell15 Can you share any feedback that you have? Would love to see how I can reproduce it so we can patch it if needed.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
I actually followed issues for this plugin originally bc I was having this issue. I started to submit a MR with the fix but then was able to build without the changes. Now that I have looked closer at why it started working I realized that the version was changed from 3.4.0 to 3.3.0
Sent from my iPhone
On Sep 19, 2018, at 12:14 PM, Manik Sachdeva notifications@github.com wrote:
@scdyn @bpowell15 Can you share any feedback that you have? Would love to see how I can reproduce it so we can patch it if needed.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@msach22 Can't try this before the end of the week, I'll get back to you by then. I don't build through Android Studio, do you think it can make the difference ?
I build through the command line as well , maybe it has to do with different java versions?
Sent from my iPhone
On Sep 20, 2018, at 2:57 AM, scdyn notifications@github.com wrote:
@msach22 Can't try this before the end of the week, I'll get back to you by then. I don't build through Android Studio, do you think it can make the difference ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Same error here
@bpowell15 and @videmort Could you folks please share your Java version?
@msach22
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
@scdyn I managed to get the build working again in my PR #130 in case you want to try it
Bug Report
Current behavior Can't build using JDK 1.8, Gradle 2.10 Node version: v6.14.3 Cordova version: 7.1.0
Steps to reproduce
Example Project https://github.com/opentok/opentok-cordova-samples/tree/master/Basic-Video-Chat
What is the current bug behavior? The build fails.
What is the expected correct behavior? The build shall succeed.
Relevant logs and/or screenshots