Update openvidu-android and openvidu-react-native for e2e tests

This commit is contained in:
pabloFuente 2023-01-09 17:03:57 +01:00
parent 46dc6fe1d2
commit 435bb758bb
8 changed files with 18 additions and 9 deletions

View File

@ -7,7 +7,7 @@
<option name="testRunner" value="GRADLE" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="Android Studio default JDK" />
<option name="gradleJvm" value="JDK" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />

View File

@ -26,5 +26,10 @@
<option name="name" value="maven" />
<option name="url" value="https://jitpack.io" />
</remote-repository>
<remote-repository>
<option name="id" value="MavenRepo" />
<option name="name" value="MavenRepo" />
<option name="url" value="https://repo.maven.apache.org/maven2/" />
</remote-repository>
</component>
</project>

View File

@ -72,8 +72,10 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_margin="5dp"
android:layout_marginStart="30dp"
android:layout_marginStart="5dp"
android:layout_marginTop="5dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="5dp"
android:onClick="buttonPressed"
android:text="@string/start_button" />

View File

@ -59,4 +59,6 @@ buck-out/
# CocoaPods
/ios/Pods/
org.eclipse.buildship.core.prefs
org.eclipse.buildship.core.prefs
index.android.bundle

View File

@ -16,7 +16,7 @@
</natures>
<filteredResources>
<filter>
<id>1671718063585</id>
<id>0</id>
<name></name>
<type>30</type>
<matcher>

View File

@ -12,7 +12,7 @@ buildscript {
jcenter()
}
dependencies {
classpath('com.android.tools.build:gradle:7.2.2')
classpath('com.android.tools.build:gradle:7.3.1')
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@ -7,8 +7,8 @@
"start:cache": "npm start -- --reset-cache",
"android": "react-native run-android",
"ios": "react-native run-ios",
"build:android": "cd android && ./gradlew assembleDebug",
"copy:android": "cp ./android/app/build/outputs/apk/debug/app-debug.apk /opt/openvidu/android/openvidu-react-native.apk",
"build:android": "mkdir -p android/app/src/main/assets/ && npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle && cd android && ./gradlew assembleRelease",
"copy:android": "cp ./android/app/build/outputs/apk/release/app-release.apk /opt/openvidu/android/openvidu-react-native.apk",
"clean": "rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules && rm -f package-lock.json",
"install-ov": "npm i openvidu-react-native-adapter-*.tgz",
"test": "jest"