Compare commits
152 Commits
antobinary
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4116ab9d52 | ||
| 4cdb59344e | |||
| 5a1b1a8542 | |||
| 406ee26710 | |||
| e2fb233516 | |||
| 6a1023668c | |||
| d7045c586e | |||
| 4c5dc1fd1d | |||
| be2e0d04e1 | |||
| 58ddc19b71 | |||
| cdb0e57385 | |||
| b23eec1ce2 | |||
| 4edd7e01e3 | |||
| 857c051be7 | |||
| 5e8b4b2021 | |||
| a50761ef87 | |||
|
|
64076d5583 | ||
|
|
c02a429078 | ||
| 317b1c8ba0 | |||
| 6626b0f539 | |||
|
|
7297e298c8 | ||
|
|
d4686fa064 | ||
|
|
4c07646c90 | ||
|
|
dd151410b0 | ||
|
|
ab8fdcad22 | ||
|
|
b8f9704cff | ||
|
|
6f9b779248 | ||
|
|
5e4c9810fa | ||
|
|
001397d14d | ||
|
|
41d118d6cf | ||
|
|
65d10fef5b | ||
|
|
9acf5b7866 | ||
|
|
dc31000493 | ||
|
|
b781d7b020 | ||
|
|
7f5c7f6aa6 | ||
|
|
e211adb6e9 | ||
|
|
2c9be37952 | ||
|
|
b6d054f2f6 | ||
|
|
1d57ee3def | ||
|
|
12f1ad12df | ||
|
|
e146478194 | ||
|
|
69b0a6da9d | ||
|
|
2538a0085a | ||
|
|
90da5a75c5 | ||
|
|
e41c51a652 | ||
|
|
ec1dddb53b | ||
|
|
ae289707a1 | ||
|
|
6f1fbac68f | ||
|
|
96752e0d2f | ||
|
|
bc040a3774 | ||
|
|
f877de700e | ||
|
|
62bd0a9f59 | ||
|
|
c52d081e1f | ||
|
|
f01348c28a | ||
|
|
bba32acefa | ||
|
|
b4dbb55548 | ||
|
|
f2115e23c7 | ||
|
|
f5e4ef117b | ||
|
|
44d16ef7e4 | ||
|
|
d14285cc12 | ||
|
|
9833c399ea | ||
|
|
daf72baa1d | ||
|
|
8db4a41e81 | ||
|
|
d9f182e9c6 | ||
|
|
c3be1229cc | ||
|
|
1ed60367c2 | ||
|
|
feca0a671b | ||
|
|
47dea524de | ||
|
|
9b563380dc | ||
|
|
dabb3b5a77 | ||
|
|
1d0b5fefe4 | ||
|
|
b8b97cb3e3 | ||
|
|
7c7a9919df | ||
|
|
5736a2ab63 | ||
|
|
f412b5c1b9 | ||
|
|
0617795b6d | ||
|
|
4b45cde2d6 | ||
|
|
0a8a3c5c4c | ||
|
|
9bc80cec09 | ||
|
|
c24524d959 | ||
|
|
b521ab1c7d | ||
|
|
115fb7f9a3 | ||
|
|
8f48cda6b7 | ||
|
|
ec7c1991b5 | ||
|
|
a34fc90998 | ||
|
|
b42b28a3a2 | ||
|
|
ce74da5ed8 | ||
|
|
af10136954 | ||
|
|
480e123d89 | ||
|
|
f055fcb0a3 | ||
|
|
618a2fa945 | ||
|
|
6edb360ed8 | ||
|
|
95bddfb0cd | ||
|
|
c6e42d380b | ||
|
|
ac300e2ba8 | ||
|
|
2859b06d82 | ||
|
|
5532776532 | ||
|
|
c36a8a3551 | ||
|
|
5613632533 | ||
|
|
0592ff2c3b | ||
|
|
64cbfd0269 | ||
|
|
715d15f91d | ||
|
|
40876783bf | ||
|
|
ff704e0d12 | ||
|
|
99fcc0c129 | ||
|
|
622da30e59 | ||
|
|
f1c64a8186 | ||
|
|
e0e777317f | ||
|
|
12729f0d62 | ||
|
|
f8a6df6a31 | ||
|
|
1a75f7b703 | ||
|
|
f8400b7895 | ||
|
|
1089436bb5 | ||
|
|
1dd6fef946 | ||
|
|
5b7e6d22f2 | ||
|
|
76ca2bb5e2 | ||
|
|
139165e929 | ||
|
|
8f6f537220 | ||
|
|
79c3a7cf94 | ||
|
|
3633d92c5d | ||
|
|
713a4a3a4d | ||
|
|
8d7ba7ae31 | ||
|
|
d86f9b7a68 | ||
|
|
aa2d2fdd86 | ||
|
|
e19ddbbd7e | ||
|
|
ba01739525 | ||
|
|
84d6b72e35 | ||
|
|
6bb8ed4376 | ||
|
|
096333392a | ||
|
|
dac241d912 | ||
|
|
e4b2292d37 | ||
|
|
0b9e2d784d | ||
|
|
4cdf612f0f | ||
|
|
acd18006fc | ||
|
|
581ce57e94 | ||
|
|
8e31664914 | ||
|
|
0a077cbdf7 | ||
|
|
2e712f359c | ||
|
|
25c0eb5860 | ||
|
|
ec1fa66e0c | ||
|
|
e1f18f5407 | ||
|
|
ee570630ac | ||
|
|
98e26de42e | ||
|
|
a8a0bf7271 | ||
|
|
57f58f2c02 | ||
|
|
29394335af | ||
|
|
6a5acf1084 | ||
|
|
7157c984aa | ||
|
|
80b544f270 | ||
|
|
701df1ff80 | ||
|
|
f12d0af084 | ||
|
|
006bc02da5 |
20
.github/workflows/build.yml
vendored
@@ -1,20 +0,0 @@
|
|||||||
name: Build
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
pull_request:
|
|
||||||
types: [opened, synchronize, reopened]
|
|
||||||
jobs:
|
|
||||||
sonarcloud:
|
|
||||||
name: SonarCloud
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
|
||||||
- name: SonarCloud Scan
|
|
||||||
uses: SonarSource/sonarcloud-github-action@master
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
||||||
17
.gitignore
vendored
@@ -1,8 +1,6 @@
|
|||||||
# OSX
|
# OSX
|
||||||
#
|
#
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.AppleDouble
|
|
||||||
.LSOverride
|
|
||||||
|
|
||||||
# Xcode
|
# Xcode
|
||||||
#
|
#
|
||||||
@@ -22,6 +20,7 @@ DerivedData
|
|||||||
*.hmap
|
*.hmap
|
||||||
*.ipa
|
*.ipa
|
||||||
*.xcuserstate
|
*.xcuserstate
|
||||||
|
ios/.xcode.env.local
|
||||||
|
|
||||||
# Android/IntelliJ
|
# Android/IntelliJ
|
||||||
#
|
#
|
||||||
@@ -51,16 +50,14 @@ buck-out/
|
|||||||
# For more information about the recommended setup visit:
|
# For more information about the recommended setup visit:
|
||||||
# https://docs.fastlane.tools/best-practices/source-control/
|
# https://docs.fastlane.tools/best-practices/source-control/
|
||||||
|
|
||||||
*/fastlane/report.xml
|
**/fastlane/report.xml
|
||||||
*/fastlane/Preview.html
|
**/fastlane/Preview.html
|
||||||
*/fastlane/screenshots
|
**/fastlane/screenshots
|
||||||
|
**/fastlane/test_output
|
||||||
|
|
||||||
# Bundle artifact
|
# Bundle artifact
|
||||||
*.jsbundle
|
*.jsbundle
|
||||||
|
|
||||||
# CocoaPods
|
# Ruby / CocoaPods
|
||||||
/ios/Pods/
|
/ios/Pods/
|
||||||
|
/vendor/bundle/
|
||||||
# Thumbnails
|
|
||||||
._*
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
|
arrowParens: 'avoid',
|
||||||
|
bracketSameLine: true,
|
||||||
bracketSpacing: false,
|
bracketSpacing: false,
|
||||||
jsxBracketSameLine: true,
|
|
||||||
singleQuote: true,
|
singleQuote: true,
|
||||||
trailingComma: 'all',
|
trailingComma: 'all',
|
||||||
arrowParens: 'avoid',
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
2.7.4
|
2.7.5
|
||||||
|
|||||||
37
App.tsx
@@ -1,27 +1,24 @@
|
|||||||
|
import 'react-native-gesture-handler';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import {StyleSheet, View, Platform} from 'react-native';
|
import {LogBox} from 'react-native';
|
||||||
import {BigbluebuttonMobile} from 'bigbluebutton-mobile-sdk';
|
import {Bootstrap} from './react-native/bootstrap/start/component';
|
||||||
|
|
||||||
|
import FontAwesomeIcon from 'react-native-vector-icons/FontAwesome5';
|
||||||
|
|
||||||
|
FontAwesomeIcon.getStyledIconSet('brand').loadFont();
|
||||||
|
FontAwesomeIcon.getStyledIconSet('light').loadFont();
|
||||||
|
FontAwesomeIcon.getStyledIconSet('regular').loadFont();
|
||||||
|
FontAwesomeIcon.getStyledIconSet('solid').loadFont();
|
||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
|
React.useEffect(() => {
|
||||||
|
LogBox.ignoreAllLogs();
|
||||||
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={styles.container}>
|
<>
|
||||||
<BigbluebuttonMobile
|
<Bootstrap />
|
||||||
broadcastAppBundleId="org.bigbluebutton.mobile.BigBlueButton-Broadcast"
|
</>
|
||||||
url="https://bigbluebutton.org"
|
|
||||||
style={styles.bbb}
|
|
||||||
/>
|
|
||||||
</View>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
|
||||||
container: {
|
|
||||||
flex: 1,
|
|
||||||
flexDirection: 'row',
|
|
||||||
},
|
|
||||||
bbb: {
|
|
||||||
marginTop: Platform.select({ios: 20, android: 0}),
|
|
||||||
flex: 1,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|||||||
4
Gemfile
@@ -1,4 +1,6 @@
|
|||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
|
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
|
||||||
ruby '2.7.4'
|
ruby '2.7.5'
|
||||||
|
|
||||||
gem 'cocoapods', '~> 1.11', '>= 1.11.2'
|
gem 'cocoapods', '~> 1.11', '>= 1.11.2'
|
||||||
|
|||||||
96
Gemfile.lock
@@ -1,96 +0,0 @@
|
|||||||
GEM
|
|
||||||
remote: https://rubygems.org/
|
|
||||||
specs:
|
|
||||||
CFPropertyList (3.0.5)
|
|
||||||
rexml
|
|
||||||
activesupport (6.1.4.4)
|
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
||||||
i18n (>= 1.6, < 2)
|
|
||||||
minitest (>= 5.1)
|
|
||||||
tzinfo (~> 2.0)
|
|
||||||
zeitwerk (~> 2.3)
|
|
||||||
addressable (2.8.0)
|
|
||||||
public_suffix (>= 2.0.2, < 5.0)
|
|
||||||
algoliasearch (1.27.5)
|
|
||||||
httpclient (~> 2.8, >= 2.8.3)
|
|
||||||
json (>= 1.5.1)
|
|
||||||
atomos (0.1.3)
|
|
||||||
claide (1.1.0)
|
|
||||||
cocoapods (1.11.2)
|
|
||||||
addressable (~> 2.8)
|
|
||||||
claide (>= 1.0.2, < 2.0)
|
|
||||||
cocoapods-core (= 1.11.2)
|
|
||||||
cocoapods-deintegrate (>= 1.0.3, < 2.0)
|
|
||||||
cocoapods-downloader (>= 1.4.0, < 2.0)
|
|
||||||
cocoapods-plugins (>= 1.0.0, < 2.0)
|
|
||||||
cocoapods-search (>= 1.0.0, < 2.0)
|
|
||||||
cocoapods-trunk (>= 1.4.0, < 2.0)
|
|
||||||
cocoapods-try (>= 1.1.0, < 2.0)
|
|
||||||
colored2 (~> 3.1)
|
|
||||||
escape (~> 0.0.4)
|
|
||||||
fourflusher (>= 2.3.0, < 3.0)
|
|
||||||
gh_inspector (~> 1.0)
|
|
||||||
molinillo (~> 0.8.0)
|
|
||||||
nap (~> 1.0)
|
|
||||||
ruby-macho (>= 1.0, < 3.0)
|
|
||||||
xcodeproj (>= 1.21.0, < 2.0)
|
|
||||||
cocoapods-core (1.11.2)
|
|
||||||
activesupport (>= 5.0, < 7)
|
|
||||||
addressable (~> 2.8)
|
|
||||||
algoliasearch (~> 1.0)
|
|
||||||
concurrent-ruby (~> 1.1)
|
|
||||||
fuzzy_match (~> 2.0.4)
|
|
||||||
nap (~> 1.0)
|
|
||||||
netrc (~> 0.11)
|
|
||||||
public_suffix (~> 4.0)
|
|
||||||
typhoeus (~> 1.0)
|
|
||||||
cocoapods-deintegrate (1.0.5)
|
|
||||||
cocoapods-downloader (1.5.1)
|
|
||||||
cocoapods-plugins (1.0.0)
|
|
||||||
nap
|
|
||||||
cocoapods-search (1.0.1)
|
|
||||||
cocoapods-trunk (1.6.0)
|
|
||||||
nap (>= 0.8, < 2.0)
|
|
||||||
netrc (~> 0.11)
|
|
||||||
cocoapods-try (1.2.0)
|
|
||||||
colored2 (3.1.2)
|
|
||||||
concurrent-ruby (1.1.9)
|
|
||||||
escape (0.0.4)
|
|
||||||
ethon (0.15.0)
|
|
||||||
ffi (>= 1.15.0)
|
|
||||||
ffi (1.15.5)
|
|
||||||
fourflusher (2.3.1)
|
|
||||||
fuzzy_match (2.0.4)
|
|
||||||
gh_inspector (1.1.3)
|
|
||||||
httpclient (2.8.3)
|
|
||||||
i18n (1.9.1)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
json (2.6.1)
|
|
||||||
minitest (5.15.0)
|
|
||||||
molinillo (0.8.0)
|
|
||||||
nanaimo (0.3.0)
|
|
||||||
nap (1.1.0)
|
|
||||||
netrc (0.11.0)
|
|
||||||
public_suffix (4.0.6)
|
|
||||||
rexml (3.2.5)
|
|
||||||
ruby-macho (2.5.1)
|
|
||||||
typhoeus (1.4.0)
|
|
||||||
ethon (>= 0.9.0)
|
|
||||||
tzinfo (2.0.4)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
xcodeproj (1.21.0)
|
|
||||||
CFPropertyList (>= 2.3.3, < 4.0)
|
|
||||||
atomos (~> 0.1.3)
|
|
||||||
claide (>= 1.0.2, < 2.0)
|
|
||||||
colored2 (~> 3.1)
|
|
||||||
nanaimo (~> 0.3.0)
|
|
||||||
rexml (~> 3.2.4)
|
|
||||||
zeitwerk (2.5.4)
|
|
||||||
PLATFORMS
|
|
||||||
ruby
|
|
||||||
DEPENDENCIES
|
|
||||||
cocoapods (~> 1.11, >= 1.11.2)
|
|
||||||
RUBY VERSION
|
|
||||||
ruby 2.7.4p191
|
|
||||||
BUNDLED WITH
|
|
||||||
2.2.27
|
|
||||||
77
README.md
@@ -1,80 +1,17 @@
|
|||||||
# BigBlueButton-mobile
|
# BigBlueButton Tablet
|
||||||
|
|
||||||
BigBlueButton mobile application.
|
BigBlueButton app for tablets. It allows you to share your screen in a BigBlueButton room, and also provides improved background audio.
|
||||||
|
|
||||||
**Important:** This is an work in progress and is not ready to be used by the community. Please stay tunned.
|
PS: This runs on mobile too, but it's mainly targeted for tablets, as it requires good CPU due to usage of a webview for rendering BigBlueButton.
|
||||||
|
|
||||||
## Development
|
More details in https://github.com/bigbluebutton/bigbluebutton-tablet-sdk
|
||||||
|
|
||||||
### Linux
|
- iOS version available in [App Store](https://apps.apple.com/us/app/bigbluebutton-tablet/id1641156756)
|
||||||
|
|
||||||
To build this application in linux, you need to run:
|
|
||||||
|
|
||||||
```sh
|
# bundle
|
||||||
# Instal Android SDK
|
|
||||||
sudo apt install android-sdk
|
|
||||||
|
|
||||||
# In one terminal, start metro:
|
|
||||||
npx react-native start
|
|
||||||
|
|
||||||
# In other terminal, run the app:
|
|
||||||
npx react-native run-android
|
|
||||||
```
|
|
||||||
|
|
||||||
### MAC
|
|
||||||
|
|
||||||
#### Simulator
|
|
||||||
|
|
||||||
To build this application in mac, you need to run:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# Install cocoapods gem
|
|
||||||
sudo gem install cocoapods
|
|
||||||
|
|
||||||
# Install dependencies
|
|
||||||
npx pod-install
|
|
||||||
|
|
||||||
# In one terminal, start metro:
|
|
||||||
npx react-native start
|
|
||||||
|
|
||||||
# In other terminal, run the app:
|
|
||||||
npx react-native run-ios --simulator="iPhone 13"
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
yarn react-native bundle --entry-file index.js --platform android --dev false --bundle-output ./android/app/src/main/assets/index.android.bundle --assets-dest ./android/app/src/main/res/
|
||||||
|
|
||||||
#### Real device
|
|
||||||
|
|
||||||
##### Debug mode
|
|
||||||
|
|
||||||
To run this application in a real ios device, you need to run:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
#Install package
|
|
||||||
npm install -g ios-deploy
|
|
||||||
|
|
||||||
#Run
|
|
||||||
npx react-native run-ios --device "iPhone de TDJ"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
###### Release mode
|
|
||||||
|
|
||||||
To run a release version of this application in a real ios device, you need to run:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npx react-native run-ios --configuration Release --device "iPhone de TDJ"
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Open project in XCODE
|
|
||||||
|
|
||||||
To change native code, you can run this command:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
open ios/BigBlueButton.xcworkspace
|
|
||||||
```
|
|
||||||
|
|
||||||
## References
|
|
||||||
|
|
||||||
### IOS
|
|
||||||
|
|
||||||
- [Screen broadcast - replay kit 2](https://developer.apple.com/videos/play/wwdc2018/601/)
|
|
||||||
- [Logs](https://developer.apple.com/videos/play/wwdc2020/10168/)
|
|
||||||
|
|||||||
@@ -35,12 +35,12 @@ android_library(
|
|||||||
|
|
||||||
android_build_config(
|
android_build_config(
|
||||||
name = "build_config",
|
name = "build_config",
|
||||||
package = "com.bigbluebutton",
|
package = "com.bigbluebuttontablet",
|
||||||
)
|
)
|
||||||
|
|
||||||
android_resource(
|
android_resource(
|
||||||
name = "res",
|
name = "res",
|
||||||
package = "com.bigbluebutton",
|
package = "com.bigbluebuttontablet",
|
||||||
res = "src/main/res",
|
res = "src/main/res",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -121,9 +121,12 @@ def jscFlavor = 'org.webkit:android-jsc:+'
|
|||||||
def enableHermes = project.ext.react.get("enableHermes", false);
|
def enableHermes = project.ext.react.get("enableHermes", false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Architectures to build native code for in debug.
|
* Architectures to build native code for.
|
||||||
*/
|
*/
|
||||||
def nativeArchitectures = project.getProperties().get("reactNativeDebugArchitectures")
|
def reactNativeArchitectures() {
|
||||||
|
def value = project.getProperties().get("reactNativeArchitectures")
|
||||||
|
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
|
||||||
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
ndkVersion rootProject.ext.ndkVersion
|
ndkVersion rootProject.ext.ndkVersion
|
||||||
@@ -131,18 +134,87 @@ android {
|
|||||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.bigbluebutton"
|
applicationId "com.bigbluebuttontablet"
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
|
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
|
||||||
|
|
||||||
|
if (isNewArchitectureEnabled()) {
|
||||||
|
// We configure the NDK build only if you decide to opt-in for the New Architecture.
|
||||||
|
externalNativeBuild {
|
||||||
|
ndkBuild {
|
||||||
|
arguments "APP_PLATFORM=android-21",
|
||||||
|
"APP_STL=c++_shared",
|
||||||
|
"NDK_TOOLCHAIN_VERSION=clang",
|
||||||
|
"GENERATED_SRC_DIR=$buildDir/generated/source",
|
||||||
|
"PROJECT_BUILD_DIR=$buildDir",
|
||||||
|
"REACT_ANDROID_DIR=$rootDir/../node_modules/react-native/ReactAndroid",
|
||||||
|
"REACT_ANDROID_BUILD_DIR=$rootDir/../node_modules/react-native/ReactAndroid/build",
|
||||||
|
"NODE_MODULES_DIR=$rootDir/../node_modules"
|
||||||
|
cFlags "-Wall", "-Werror", "-fexceptions", "-frtti", "-DWITH_INSPECTOR=1"
|
||||||
|
cppFlags "-std=c++17"
|
||||||
|
// Make sure this target name is the same you specify inside the
|
||||||
|
// src/main/jni/Android.mk file for the `LOCAL_MODULE` variable.
|
||||||
|
targets "bigbluebuttontablet_appmodules"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!enableSeparateBuildPerCPUArchitecture) {
|
||||||
|
ndk {
|
||||||
|
abiFilters (*reactNativeArchitectures())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isNewArchitectureEnabled()) {
|
||||||
|
// We configure the NDK build only if you decide to opt-in for the New Architecture.
|
||||||
|
externalNativeBuild {
|
||||||
|
ndkBuild {
|
||||||
|
path "$projectDir/src/main/jni/Android.mk"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
def reactAndroidProjectDir = project(':ReactAndroid').projectDir
|
||||||
|
def packageReactNdkDebugLibs = tasks.register("packageReactNdkDebugLibs", Copy) {
|
||||||
|
dependsOn(":ReactAndroid:packageReactNdkDebugLibsForBuck")
|
||||||
|
from("$reactAndroidProjectDir/src/main/jni/prebuilt/lib")
|
||||||
|
into("$buildDir/react-ndk/exported")
|
||||||
|
}
|
||||||
|
def packageReactNdkReleaseLibs = tasks.register("packageReactNdkReleaseLibs", Copy) {
|
||||||
|
dependsOn(":ReactAndroid:packageReactNdkReleaseLibsForBuck")
|
||||||
|
from("$reactAndroidProjectDir/src/main/jni/prebuilt/lib")
|
||||||
|
into("$buildDir/react-ndk/exported")
|
||||||
|
}
|
||||||
|
afterEvaluate {
|
||||||
|
// If you wish to add a custom TurboModule or component locally,
|
||||||
|
// you should uncomment this line.
|
||||||
|
// preBuild.dependsOn("generateCodegenArtifactsFromSchema")
|
||||||
|
preDebugBuild.dependsOn(packageReactNdkDebugLibs)
|
||||||
|
preReleaseBuild.dependsOn(packageReactNdkReleaseLibs)
|
||||||
|
|
||||||
|
// Due to a bug inside AGP, we have to explicitly set a dependency
|
||||||
|
// between configureNdkBuild* tasks and the preBuild tasks.
|
||||||
|
// This can be removed once this is solved: https://issuetracker.google.com/issues/207403732
|
||||||
|
configureNdkBuildRelease.dependsOn(preReleaseBuild)
|
||||||
|
configureNdkBuildDebug.dependsOn(preDebugBuild)
|
||||||
|
reactNativeArchitectures().each { architecture ->
|
||||||
|
tasks.findByName("configureNdkBuildDebug[${architecture}]")?.configure {
|
||||||
|
dependsOn("preDebugBuild")
|
||||||
|
}
|
||||||
|
tasks.findByName("configureNdkBuildRelease[${architecture}]")?.configure {
|
||||||
|
dependsOn("preReleaseBuild")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
splits {
|
splits {
|
||||||
abi {
|
abi {
|
||||||
reset()
|
reset()
|
||||||
enable enableSeparateBuildPerCPUArchitecture
|
enable enableSeparateBuildPerCPUArchitecture
|
||||||
universalApk false // If true, also generate a universal APK
|
universalApk false // If true, also generate a universal APK
|
||||||
include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
|
include (*reactNativeArchitectures())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
@@ -156,11 +228,6 @@ android {
|
|||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.debug
|
||||||
if (nativeArchitectures) {
|
|
||||||
ndk {
|
|
||||||
abiFilters nativeArchitectures.split(',')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
// Caution! In production, you need to generate your own keystore file.
|
// Caution! In production, you need to generate your own keystore file.
|
||||||
@@ -190,6 +257,7 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||||
|
|
||||||
//noinspection GradleDynamicVersion
|
//noinspection GradleDynamicVersion
|
||||||
implementation "com.facebook.react:react-native:+" // From node_modules
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
||||||
|
|
||||||
@@ -209,14 +277,31 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (enableHermes) {
|
if (enableHermes) {
|
||||||
def hermesPath = "../../node_modules/hermes-engine/android/";
|
//noinspection GradleDynamicVersion
|
||||||
debugImplementation files(hermesPath + "hermes-debug.aar")
|
implementation("com.facebook.react:hermes-engine:+") { // From node_modules
|
||||||
releaseImplementation files(hermesPath + "hermes-release.aar")
|
exclude group:'com.facebook.fbjni'
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
implementation jscFlavor
|
implementation jscFlavor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isNewArchitectureEnabled()) {
|
||||||
|
// If new architecture is enabled, we let you build RN from source
|
||||||
|
// Otherwise we fallback to a prebuilt .aar bundled in the NPM package.
|
||||||
|
// This will be applied to all the imported transtitive dependency.
|
||||||
|
configurations.all {
|
||||||
|
resolutionStrategy.dependencySubstitution {
|
||||||
|
substitute(module("com.facebook.react:react-native"))
|
||||||
|
.using(project(":ReactAndroid"))
|
||||||
|
.because("On New Architecture we're building React Native from source")
|
||||||
|
substitute(module("com.facebook.react:hermes-engine"))
|
||||||
|
.using(project(":ReactAndroid:hermes-engine"))
|
||||||
|
.because("On New Architecture we're building Hermes from source")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Run this once to be able to run the application with BUCK
|
// Run this once to be able to run the application with BUCK
|
||||||
// puts all compile dependencies into folder libs for BUCK to use
|
// puts all compile dependencies into folder libs for BUCK to use
|
||||||
task copyDownloadableDepsToLibs(type: Copy) {
|
task copyDownloadableDepsToLibs(type: Copy) {
|
||||||
@@ -225,3 +310,11 @@ task copyDownloadableDepsToLibs(type: Copy) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
|
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
|
||||||
|
|
||||||
|
def isNewArchitectureEnabled() {
|
||||||
|
// To opt-in for the New Architecture, you can either:
|
||||||
|
// - Set `newArchEnabled` to true inside the `gradle.properties` file
|
||||||
|
// - Invoke gradle with `-newArchEnabled=true`
|
||||||
|
// - Set an environment variable `ORG_GRADLE_PROJECT_newArchEnabled=true`
|
||||||
|
return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true"
|
||||||
|
}
|
||||||
|
|||||||
@@ -8,6 +8,6 @@
|
|||||||
android:usesCleartextTraffic="true"
|
android:usesCleartextTraffic="true"
|
||||||
tools:targetApi="28"
|
tools:targetApi="28"
|
||||||
tools:ignore="GoogleAppIndexingWarning">
|
tools:ignore="GoogleAppIndexingWarning">
|
||||||
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
|
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false" />
|
||||||
</application>
|
</application>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||||
*
|
*
|
||||||
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
|
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
|
||||||
* directory of this source tree.
|
* directory of this source tree.
|
||||||
*/
|
*/
|
||||||
package com.bigbluebutton;
|
package com.bigbluebuttontablet;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import com.facebook.flipper.android.AndroidFlipperClient;
|
import com.facebook.flipper.android.AndroidFlipperClient;
|
||||||
@@ -19,6 +19,7 @@ import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor;
|
|||||||
import com.facebook.flipper.plugins.network.NetworkFlipperPlugin;
|
import com.facebook.flipper.plugins.network.NetworkFlipperPlugin;
|
||||||
import com.facebook.flipper.plugins.react.ReactFlipperPlugin;
|
import com.facebook.flipper.plugins.react.ReactFlipperPlugin;
|
||||||
import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin;
|
import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin;
|
||||||
|
import com.facebook.react.ReactInstanceEventListener;
|
||||||
import com.facebook.react.ReactInstanceManager;
|
import com.facebook.react.ReactInstanceManager;
|
||||||
import com.facebook.react.bridge.ReactContext;
|
import com.facebook.react.bridge.ReactContext;
|
||||||
import com.facebook.react.modules.network.NetworkingModule;
|
import com.facebook.react.modules.network.NetworkingModule;
|
||||||
@@ -51,7 +52,7 @@ public class ReactNativeFlipper {
|
|||||||
ReactContext reactContext = reactInstanceManager.getCurrentReactContext();
|
ReactContext reactContext = reactInstanceManager.getCurrentReactContext();
|
||||||
if (reactContext == null) {
|
if (reactContext == null) {
|
||||||
reactInstanceManager.addReactInstanceEventListener(
|
reactInstanceManager.addReactInstanceEventListener(
|
||||||
new ReactInstanceManager.ReactInstanceEventListener() {
|
new ReactInstanceEventListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onReactContextInitialized(ReactContext reactContext) {
|
public void onReactContextInitialized(ReactContext reactContext) {
|
||||||
reactInstanceManager.removeReactInstanceEventListener(this);
|
reactInstanceManager.removeReactInstanceEventListener(this);
|
||||||
@@ -1,7 +1,20 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.bigbluebutton">
|
package="com.bigbluebuttontablet">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
||||||
|
<uses-permission android:name="android.permission.CAMERA" />
|
||||||
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||||
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
||||||
|
|
||||||
|
<uses-permission android:name="android.permission.MICROPHONE" />
|
||||||
|
<uses-feature android:name="android.hardware.audio.low_latency" />
|
||||||
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
||||||
|
<uses-feature android:name="android.hardware.audio.pro" />
|
||||||
|
<uses-feature android:name="android.hardware.microphone"/>
|
||||||
|
|
||||||
|
<uses-feature android:name="android.hardware.camera" />
|
||||||
|
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:name=".MainApplication"
|
android:name=".MainApplication"
|
||||||
@@ -13,9 +26,12 @@
|
|||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:windowSoftInputMode="adjustResize">
|
android:windowSoftInputMode="adjustResize"
|
||||||
|
android:screenOrientation="landscape"
|
||||||
|
|
||||||
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
|
|||||||
932
android/app/src/main/assets/index.android.bundle
Normal file
@@ -1,15 +0,0 @@
|
|||||||
package com.bigbluebutton;
|
|
||||||
|
|
||||||
import com.facebook.react.ReactActivity;
|
|
||||||
|
|
||||||
public class MainActivity extends ReactActivity {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the name of the main component registered from JavaScript. This is used to schedule
|
|
||||||
* rendering of the component.
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
protected String getMainComponentName() {
|
|
||||||
return "BigBlueButton";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
package com.bigbluebuttontablet;
|
||||||
|
|
||||||
|
import com.facebook.react.ReactActivity;
|
||||||
|
import com.facebook.react.ReactActivityDelegate;
|
||||||
|
import com.facebook.react.ReactRootView;
|
||||||
|
|
||||||
|
public class MainActivity extends ReactActivity {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the name of the main component registered from JavaScript. This is used to schedule
|
||||||
|
* rendering of the component.
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
protected String getMainComponentName() {
|
||||||
|
return "BigBlueButtonTablet";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the instance of the {@link ReactActivityDelegate}. There the RootView is created and
|
||||||
|
* you can specify the renderer you wish to use - the new renderer (Fabric) or the old renderer
|
||||||
|
* (Paper).
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
protected ReactActivityDelegate createReactActivityDelegate() {
|
||||||
|
return new MainActivityDelegate(this, getMainComponentName());
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class MainActivityDelegate extends ReactActivityDelegate {
|
||||||
|
public MainActivityDelegate(ReactActivity activity, String mainComponentName) {
|
||||||
|
super(activity, mainComponentName);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected ReactRootView createRootView() {
|
||||||
|
ReactRootView reactRootView = new ReactRootView(getContext());
|
||||||
|
// If you opted-in for the New Architecture, we enable the Fabric Renderer.
|
||||||
|
reactRootView.setIsFabric(BuildConfig.IS_NEW_ARCHITECTURE_ENABLED);
|
||||||
|
return reactRootView;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean isConcurrentRootEnabled() {
|
||||||
|
// If you opted-in for the New Architecture, we enable Concurrent Root (i.e. React 18).
|
||||||
|
// More on this on https://reactjs.org/blog/2022/03/29/react-v18.html
|
||||||
|
return BuildConfig.IS_NEW_ARCHITECTURE_ENABLED;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.bigbluebutton;
|
package com.bigbluebuttontablet;
|
||||||
|
|
||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
@@ -7,7 +7,9 @@ import com.facebook.react.ReactApplication;
|
|||||||
import com.facebook.react.ReactInstanceManager;
|
import com.facebook.react.ReactInstanceManager;
|
||||||
import com.facebook.react.ReactNativeHost;
|
import com.facebook.react.ReactNativeHost;
|
||||||
import com.facebook.react.ReactPackage;
|
import com.facebook.react.ReactPackage;
|
||||||
|
import com.facebook.react.config.ReactFeatureFlags;
|
||||||
import com.facebook.soloader.SoLoader;
|
import com.facebook.soloader.SoLoader;
|
||||||
|
import com.bigbluebuttontablet.newarchitecture.MainApplicationReactNativeHost;
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -35,14 +37,23 @@ public class MainApplication extends Application implements ReactApplication {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
private final ReactNativeHost mNewArchitectureNativeHost =
|
||||||
|
new MainApplicationReactNativeHost(this);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ReactNativeHost getReactNativeHost() {
|
public ReactNativeHost getReactNativeHost() {
|
||||||
return mReactNativeHost;
|
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
|
||||||
|
return mNewArchitectureNativeHost;
|
||||||
|
} else {
|
||||||
|
return mReactNativeHost;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreate() {
|
public void onCreate() {
|
||||||
super.onCreate();
|
super.onCreate();
|
||||||
|
// If you opted-in for the New Architecture, we enable the TurboModule system
|
||||||
|
ReactFeatureFlags.useTurboModules = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED;
|
||||||
SoLoader.init(this, /* native exopackage */ false);
|
SoLoader.init(this, /* native exopackage */ false);
|
||||||
initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
|
initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
|
||||||
}
|
}
|
||||||
@@ -62,7 +73,7 @@ public class MainApplication extends Application implements ReactApplication {
|
|||||||
We use reflection here to pick up the class that initializes Flipper,
|
We use reflection here to pick up the class that initializes Flipper,
|
||||||
since Flipper library is not available in release mode
|
since Flipper library is not available in release mode
|
||||||
*/
|
*/
|
||||||
Class<?> aClass = Class.forName("com.bigbluebutton.ReactNativeFlipper");
|
Class<?> aClass = Class.forName("com.bigbluebuttontablet.ReactNativeFlipper");
|
||||||
aClass
|
aClass
|
||||||
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
|
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
|
||||||
.invoke(null, context, reactInstanceManager);
|
.invoke(null, context, reactInstanceManager);
|
||||||
@@ -0,0 +1,116 @@
|
|||||||
|
package com.bigbluebuttontablet.newarchitecture;
|
||||||
|
|
||||||
|
import android.app.Application;
|
||||||
|
import androidx.annotation.NonNull;
|
||||||
|
import com.facebook.react.PackageList;
|
||||||
|
import com.facebook.react.ReactInstanceManager;
|
||||||
|
import com.facebook.react.ReactNativeHost;
|
||||||
|
import com.facebook.react.ReactPackage;
|
||||||
|
import com.facebook.react.ReactPackageTurboModuleManagerDelegate;
|
||||||
|
import com.facebook.react.bridge.JSIModulePackage;
|
||||||
|
import com.facebook.react.bridge.JSIModuleProvider;
|
||||||
|
import com.facebook.react.bridge.JSIModuleSpec;
|
||||||
|
import com.facebook.react.bridge.JSIModuleType;
|
||||||
|
import com.facebook.react.bridge.JavaScriptContextHolder;
|
||||||
|
import com.facebook.react.bridge.ReactApplicationContext;
|
||||||
|
import com.facebook.react.bridge.UIManager;
|
||||||
|
import com.facebook.react.fabric.ComponentFactory;
|
||||||
|
import com.facebook.react.fabric.CoreComponentsRegistry;
|
||||||
|
import com.facebook.react.fabric.FabricJSIModuleProvider;
|
||||||
|
import com.facebook.react.fabric.ReactNativeConfig;
|
||||||
|
import com.facebook.react.uimanager.ViewManagerRegistry;
|
||||||
|
import com.bigbluebuttontablet.BuildConfig;
|
||||||
|
import com.bigbluebuttontablet.newarchitecture.components.MainComponentsRegistry;
|
||||||
|
import com.bigbluebuttontablet.newarchitecture.modules.MainApplicationTurboModuleManagerDelegate;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A {@link ReactNativeHost} that helps you load everything needed for the New Architecture, both
|
||||||
|
* TurboModule delegates and the Fabric Renderer.
|
||||||
|
*
|
||||||
|
* <p>Please note that this class is used ONLY if you opt-in for the New Architecture (see the
|
||||||
|
* `newArchEnabled` property). Is ignored otherwise.
|
||||||
|
*/
|
||||||
|
public class MainApplicationReactNativeHost extends ReactNativeHost {
|
||||||
|
public MainApplicationReactNativeHost(Application application) {
|
||||||
|
super(application);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean getUseDeveloperSupport() {
|
||||||
|
return BuildConfig.DEBUG;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected List<ReactPackage> getPackages() {
|
||||||
|
List<ReactPackage> packages = new PackageList(this).getPackages();
|
||||||
|
// Packages that cannot be autolinked yet can be added manually here, for example:
|
||||||
|
// packages.add(new MyReactNativePackage());
|
||||||
|
// TurboModules must also be loaded here providing a valid TurboReactPackage implementation:
|
||||||
|
// packages.add(new TurboReactPackage() { ... });
|
||||||
|
// If you have custom Fabric Components, their ViewManagers should also be loaded here
|
||||||
|
// inside a ReactPackage.
|
||||||
|
return packages;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected String getJSMainModuleName() {
|
||||||
|
return "index";
|
||||||
|
}
|
||||||
|
|
||||||
|
@NonNull
|
||||||
|
@Override
|
||||||
|
protected ReactPackageTurboModuleManagerDelegate.Builder
|
||||||
|
getReactPackageTurboModuleManagerDelegateBuilder() {
|
||||||
|
// Here we provide the ReactPackageTurboModuleManagerDelegate Builder. This is necessary
|
||||||
|
// for the new architecture and to use TurboModules correctly.
|
||||||
|
return new MainApplicationTurboModuleManagerDelegate.Builder();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected JSIModulePackage getJSIModulePackage() {
|
||||||
|
return new JSIModulePackage() {
|
||||||
|
@Override
|
||||||
|
public List<JSIModuleSpec> getJSIModules(
|
||||||
|
final ReactApplicationContext reactApplicationContext,
|
||||||
|
final JavaScriptContextHolder jsContext) {
|
||||||
|
final List<JSIModuleSpec> specs = new ArrayList<>();
|
||||||
|
|
||||||
|
// Here we provide a new JSIModuleSpec that will be responsible of providing the
|
||||||
|
// custom Fabric Components.
|
||||||
|
specs.add(
|
||||||
|
new JSIModuleSpec() {
|
||||||
|
@Override
|
||||||
|
public JSIModuleType getJSIModuleType() {
|
||||||
|
return JSIModuleType.UIManager;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public JSIModuleProvider<UIManager> getJSIModuleProvider() {
|
||||||
|
final ComponentFactory componentFactory = new ComponentFactory();
|
||||||
|
CoreComponentsRegistry.register(componentFactory);
|
||||||
|
|
||||||
|
// Here we register a Components Registry.
|
||||||
|
// The one that is generated with the template contains no components
|
||||||
|
// and just provides you the one from React Native core.
|
||||||
|
MainComponentsRegistry.register(componentFactory);
|
||||||
|
|
||||||
|
final ReactInstanceManager reactInstanceManager = getReactInstanceManager();
|
||||||
|
|
||||||
|
ViewManagerRegistry viewManagerRegistry =
|
||||||
|
new ViewManagerRegistry(
|
||||||
|
reactInstanceManager.getOrCreateViewManagers(reactApplicationContext));
|
||||||
|
|
||||||
|
return new FabricJSIModuleProvider(
|
||||||
|
reactApplicationContext,
|
||||||
|
componentFactory,
|
||||||
|
ReactNativeConfig.DEFAULT_CONFIG,
|
||||||
|
viewManagerRegistry);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return specs;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
package com.bigbluebuttontablet.newarchitecture.components;
|
||||||
|
|
||||||
|
import com.facebook.jni.HybridData;
|
||||||
|
import com.facebook.proguard.annotations.DoNotStrip;
|
||||||
|
import com.facebook.react.fabric.ComponentFactory;
|
||||||
|
import com.facebook.soloader.SoLoader;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class responsible to load the custom Fabric Components. This class has native methods and needs a
|
||||||
|
* corresponding C++ implementation/header file to work correctly (already placed inside the jni/
|
||||||
|
* folder for you).
|
||||||
|
*
|
||||||
|
* <p>Please note that this class is used ONLY if you opt-in for the New Architecture (see the
|
||||||
|
* `newArchEnabled` property). Is ignored otherwise.
|
||||||
|
*/
|
||||||
|
@DoNotStrip
|
||||||
|
public class MainComponentsRegistry {
|
||||||
|
static {
|
||||||
|
SoLoader.loadLibrary("fabricjni");
|
||||||
|
}
|
||||||
|
|
||||||
|
@DoNotStrip private final HybridData mHybridData;
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
|
private native HybridData initHybrid(ComponentFactory componentFactory);
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
|
private MainComponentsRegistry(ComponentFactory componentFactory) {
|
||||||
|
mHybridData = initHybrid(componentFactory);
|
||||||
|
}
|
||||||
|
|
||||||
|
@DoNotStrip
|
||||||
|
public static MainComponentsRegistry register(ComponentFactory componentFactory) {
|
||||||
|
return new MainComponentsRegistry(componentFactory);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
package com.bigbluebuttontablet.newarchitecture.modules;
|
||||||
|
|
||||||
|
import com.facebook.jni.HybridData;
|
||||||
|
import com.facebook.react.ReactPackage;
|
||||||
|
import com.facebook.react.ReactPackageTurboModuleManagerDelegate;
|
||||||
|
import com.facebook.react.bridge.ReactApplicationContext;
|
||||||
|
import com.facebook.soloader.SoLoader;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class responsible to load the TurboModules. This class has native methods and needs a
|
||||||
|
* corresponding C++ implementation/header file to work correctly (already placed inside the jni/
|
||||||
|
* folder for you).
|
||||||
|
*
|
||||||
|
* <p>Please note that this class is used ONLY if you opt-in for the New Architecture (see the
|
||||||
|
* `newArchEnabled` property). Is ignored otherwise.
|
||||||
|
*/
|
||||||
|
public class MainApplicationTurboModuleManagerDelegate
|
||||||
|
extends ReactPackageTurboModuleManagerDelegate {
|
||||||
|
|
||||||
|
private static volatile boolean sIsSoLibraryLoaded;
|
||||||
|
|
||||||
|
protected MainApplicationTurboModuleManagerDelegate(
|
||||||
|
ReactApplicationContext reactApplicationContext, List<ReactPackage> packages) {
|
||||||
|
super(reactApplicationContext, packages);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected native HybridData initHybrid();
|
||||||
|
|
||||||
|
native boolean canCreateTurboModule(String moduleName);
|
||||||
|
|
||||||
|
public static class Builder extends ReactPackageTurboModuleManagerDelegate.Builder {
|
||||||
|
protected MainApplicationTurboModuleManagerDelegate build(
|
||||||
|
ReactApplicationContext context, List<ReactPackage> packages) {
|
||||||
|
return new MainApplicationTurboModuleManagerDelegate(context, packages);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected synchronized void maybeLoadOtherSoLibraries() {
|
||||||
|
if (!sIsSoLibraryLoaded) {
|
||||||
|
// If you change the name of your application .so file in the Android.mk file,
|
||||||
|
// make sure you update the name here as well.
|
||||||
|
SoLoader.loadLibrary("bigbluebuttontablet_appmodules");
|
||||||
|
sIsSoLibraryLoaded = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
48
android/app/src/main/jni/Android.mk
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
THIS_DIR := $(call my-dir)
|
||||||
|
|
||||||
|
include $(REACT_ANDROID_DIR)/Android-prebuilt.mk
|
||||||
|
|
||||||
|
# If you wish to add a custom TurboModule or Fabric component in your app you
|
||||||
|
# will have to include the following autogenerated makefile.
|
||||||
|
# include $(GENERATED_SRC_DIR)/codegen/jni/Android.mk
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_PATH := $(THIS_DIR)
|
||||||
|
|
||||||
|
# You can customize the name of your application .so file here.
|
||||||
|
LOCAL_MODULE := bigbluebuttontablet_appmodules
|
||||||
|
|
||||||
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||||
|
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp)
|
||||||
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
||||||
|
|
||||||
|
# If you wish to add a custom TurboModule or Fabric component in your app you
|
||||||
|
# will have to uncomment those lines to include the generated source
|
||||||
|
# files from the codegen (placed in $(GENERATED_SRC_DIR)/codegen/jni)
|
||||||
|
#
|
||||||
|
# LOCAL_C_INCLUDES += $(GENERATED_SRC_DIR)/codegen/jni
|
||||||
|
# LOCAL_SRC_FILES += $(wildcard $(GENERATED_SRC_DIR)/codegen/jni/*.cpp)
|
||||||
|
# LOCAL_EXPORT_C_INCLUDES += $(GENERATED_SRC_DIR)/codegen/jni
|
||||||
|
|
||||||
|
# Here you should add any native library you wish to depend on.
|
||||||
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
|
libfabricjni \
|
||||||
|
libfbjni \
|
||||||
|
libfolly_runtime \
|
||||||
|
libglog \
|
||||||
|
libjsi \
|
||||||
|
libreact_codegen_rncore \
|
||||||
|
libreact_debug \
|
||||||
|
libreact_nativemodule_core \
|
||||||
|
libreact_render_componentregistry \
|
||||||
|
libreact_render_core \
|
||||||
|
libreact_render_debug \
|
||||||
|
libreact_render_graphics \
|
||||||
|
librrc_view \
|
||||||
|
libruntimeexecutor \
|
||||||
|
libturbomodulejsijni \
|
||||||
|
libyoga
|
||||||
|
|
||||||
|
LOCAL_CFLAGS := -DLOG_TAG=\"ReactNative\" -fexceptions -frtti -std=c++17 -Wall
|
||||||
|
|
||||||
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
24
android/app/src/main/jni/MainApplicationModuleProvider.cpp
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
#include "MainApplicationModuleProvider.h"
|
||||||
|
|
||||||
|
#include <rncore.h>
|
||||||
|
|
||||||
|
namespace facebook {
|
||||||
|
namespace react {
|
||||||
|
|
||||||
|
std::shared_ptr<TurboModule> MainApplicationModuleProvider(
|
||||||
|
const std::string moduleName,
|
||||||
|
const JavaTurboModule::InitParams ¶ms) {
|
||||||
|
// Here you can provide your own module provider for TurboModules coming from
|
||||||
|
// either your application or from external libraries. The approach to follow
|
||||||
|
// is similar to the following (for a library called `samplelibrary`:
|
||||||
|
//
|
||||||
|
// auto module = samplelibrary_ModuleProvider(moduleName, params);
|
||||||
|
// if (module != nullptr) {
|
||||||
|
// return module;
|
||||||
|
// }
|
||||||
|
// return rncore_ModuleProvider(moduleName, params);
|
||||||
|
return rncore_ModuleProvider(moduleName, params);
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace react
|
||||||
|
} // namespace facebook
|
||||||
16
android/app/src/main/jni/MainApplicationModuleProvider.h
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
#include <ReactCommon/JavaTurboModule.h>
|
||||||
|
|
||||||
|
namespace facebook {
|
||||||
|
namespace react {
|
||||||
|
|
||||||
|
std::shared_ptr<TurboModule> MainApplicationModuleProvider(
|
||||||
|
const std::string moduleName,
|
||||||
|
const JavaTurboModule::InitParams ¶ms);
|
||||||
|
|
||||||
|
} // namespace react
|
||||||
|
} // namespace facebook
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
#include "MainApplicationTurboModuleManagerDelegate.h"
|
||||||
|
#include "MainApplicationModuleProvider.h"
|
||||||
|
|
||||||
|
namespace facebook {
|
||||||
|
namespace react {
|
||||||
|
|
||||||
|
jni::local_ref<MainApplicationTurboModuleManagerDelegate::jhybriddata>
|
||||||
|
MainApplicationTurboModuleManagerDelegate::initHybrid(
|
||||||
|
jni::alias_ref<jhybridobject>) {
|
||||||
|
return makeCxxInstance();
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainApplicationTurboModuleManagerDelegate::registerNatives() {
|
||||||
|
registerHybrid({
|
||||||
|
makeNativeMethod(
|
||||||
|
"initHybrid", MainApplicationTurboModuleManagerDelegate::initHybrid),
|
||||||
|
makeNativeMethod(
|
||||||
|
"canCreateTurboModule",
|
||||||
|
MainApplicationTurboModuleManagerDelegate::canCreateTurboModule),
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
std::shared_ptr<TurboModule>
|
||||||
|
MainApplicationTurboModuleManagerDelegate::getTurboModule(
|
||||||
|
const std::string name,
|
||||||
|
const std::shared_ptr<CallInvoker> jsInvoker) {
|
||||||
|
// Not implemented yet: provide pure-C++ NativeModules here.
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::shared_ptr<TurboModule>
|
||||||
|
MainApplicationTurboModuleManagerDelegate::getTurboModule(
|
||||||
|
const std::string name,
|
||||||
|
const JavaTurboModule::InitParams ¶ms) {
|
||||||
|
return MainApplicationModuleProvider(name, params);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool MainApplicationTurboModuleManagerDelegate::canCreateTurboModule(
|
||||||
|
std::string name) {
|
||||||
|
return getTurboModule(name, nullptr) != nullptr ||
|
||||||
|
getTurboModule(name, {.moduleName = name}) != nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace react
|
||||||
|
} // namespace facebook
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
#include <memory>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
#include <ReactCommon/TurboModuleManagerDelegate.h>
|
||||||
|
#include <fbjni/fbjni.h>
|
||||||
|
|
||||||
|
namespace facebook {
|
||||||
|
namespace react {
|
||||||
|
|
||||||
|
class MainApplicationTurboModuleManagerDelegate
|
||||||
|
: public jni::HybridClass<
|
||||||
|
MainApplicationTurboModuleManagerDelegate,
|
||||||
|
TurboModuleManagerDelegate> {
|
||||||
|
public:
|
||||||
|
// Adapt it to the package you used for your Java class.
|
||||||
|
static constexpr auto kJavaDescriptor =
|
||||||
|
"Lcom/bigbluebuttontablet/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate;";
|
||||||
|
|
||||||
|
static jni::local_ref<jhybriddata> initHybrid(jni::alias_ref<jhybridobject>);
|
||||||
|
|
||||||
|
static void registerNatives();
|
||||||
|
|
||||||
|
std::shared_ptr<TurboModule> getTurboModule(
|
||||||
|
const std::string name,
|
||||||
|
const std::shared_ptr<CallInvoker> jsInvoker) override;
|
||||||
|
std::shared_ptr<TurboModule> getTurboModule(
|
||||||
|
const std::string name,
|
||||||
|
const JavaTurboModule::InitParams ¶ms) override;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test-only method. Allows user to verify whether a TurboModule can be
|
||||||
|
* created by instances of this class.
|
||||||
|
*/
|
||||||
|
bool canCreateTurboModule(std::string name);
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace react
|
||||||
|
} // namespace facebook
|
||||||
61
android/app/src/main/jni/MainComponentsRegistry.cpp
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
#include "MainComponentsRegistry.h"
|
||||||
|
|
||||||
|
#include <CoreComponentsRegistry.h>
|
||||||
|
#include <fbjni/fbjni.h>
|
||||||
|
#include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h>
|
||||||
|
#include <react/renderer/components/rncore/ComponentDescriptors.h>
|
||||||
|
|
||||||
|
namespace facebook {
|
||||||
|
namespace react {
|
||||||
|
|
||||||
|
MainComponentsRegistry::MainComponentsRegistry(ComponentFactory *delegate) {}
|
||||||
|
|
||||||
|
std::shared_ptr<ComponentDescriptorProviderRegistry const>
|
||||||
|
MainComponentsRegistry::sharedProviderRegistry() {
|
||||||
|
auto providerRegistry = CoreComponentsRegistry::sharedProviderRegistry();
|
||||||
|
|
||||||
|
// Custom Fabric Components go here. You can register custom
|
||||||
|
// components coming from your App or from 3rd party libraries here.
|
||||||
|
//
|
||||||
|
// providerRegistry->add(concreteComponentDescriptorProvider<
|
||||||
|
// AocViewerComponentDescriptor>());
|
||||||
|
return providerRegistry;
|
||||||
|
}
|
||||||
|
|
||||||
|
jni::local_ref<MainComponentsRegistry::jhybriddata>
|
||||||
|
MainComponentsRegistry::initHybrid(
|
||||||
|
jni::alias_ref<jclass>,
|
||||||
|
ComponentFactory *delegate) {
|
||||||
|
auto instance = makeCxxInstance(delegate);
|
||||||
|
|
||||||
|
auto buildRegistryFunction =
|
||||||
|
[](EventDispatcher::Weak const &eventDispatcher,
|
||||||
|
ContextContainer::Shared const &contextContainer)
|
||||||
|
-> ComponentDescriptorRegistry::Shared {
|
||||||
|
auto registry = MainComponentsRegistry::sharedProviderRegistry()
|
||||||
|
->createComponentDescriptorRegistry(
|
||||||
|
{eventDispatcher, contextContainer});
|
||||||
|
|
||||||
|
auto mutableRegistry =
|
||||||
|
std::const_pointer_cast<ComponentDescriptorRegistry>(registry);
|
||||||
|
|
||||||
|
mutableRegistry->setFallbackComponentDescriptor(
|
||||||
|
std::make_shared<UnimplementedNativeViewComponentDescriptor>(
|
||||||
|
ComponentDescriptorParameters{
|
||||||
|
eventDispatcher, contextContainer, nullptr}));
|
||||||
|
|
||||||
|
return registry;
|
||||||
|
};
|
||||||
|
|
||||||
|
delegate->buildRegistryFunction = buildRegistryFunction;
|
||||||
|
return instance;
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainComponentsRegistry::registerNatives() {
|
||||||
|
registerHybrid({
|
||||||
|
makeNativeMethod("initHybrid", MainComponentsRegistry::initHybrid),
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace react
|
||||||
|
} // namespace facebook
|
||||||
32
android/app/src/main/jni/MainComponentsRegistry.h
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <ComponentFactory.h>
|
||||||
|
#include <fbjni/fbjni.h>
|
||||||
|
#include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h>
|
||||||
|
#include <react/renderer/componentregistry/ComponentDescriptorRegistry.h>
|
||||||
|
|
||||||
|
namespace facebook {
|
||||||
|
namespace react {
|
||||||
|
|
||||||
|
class MainComponentsRegistry
|
||||||
|
: public facebook::jni::HybridClass<MainComponentsRegistry> {
|
||||||
|
public:
|
||||||
|
// Adapt it to the package you used for your Java class.
|
||||||
|
constexpr static auto kJavaDescriptor =
|
||||||
|
"Lcom/bigbluebuttontablet/newarchitecture/components/MainComponentsRegistry;";
|
||||||
|
|
||||||
|
static void registerNatives();
|
||||||
|
|
||||||
|
MainComponentsRegistry(ComponentFactory *delegate);
|
||||||
|
|
||||||
|
private:
|
||||||
|
static std::shared_ptr<ComponentDescriptorProviderRegistry const>
|
||||||
|
sharedProviderRegistry();
|
||||||
|
|
||||||
|
static jni::local_ref<jhybriddata> initHybrid(
|
||||||
|
jni::alias_ref<jclass>,
|
||||||
|
ComponentFactory *delegate);
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace react
|
||||||
|
} // namespace facebook
|
||||||
11
android/app/src/main/jni/OnLoad.cpp
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#include <fbjni/fbjni.h>
|
||||||
|
#include "MainApplicationTurboModuleManagerDelegate.h"
|
||||||
|
#include "MainComponentsRegistry.h"
|
||||||
|
|
||||||
|
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *) {
|
||||||
|
return facebook::jni::initialize(vm, [] {
|
||||||
|
facebook::react::MainApplicationTurboModuleManagerDelegate::
|
||||||
|
registerNatives();
|
||||||
|
facebook::react::MainComponentsRegistry::registerNatives();
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -1,9 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- Copyright (C) 2014 The Android Open Source Project
|
<!-- Copyright (C) 2014 The Android Open Source Project
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
Unless required by applicable law or agreed to in writing, software
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
@@ -15,15 +18,19 @@
|
|||||||
android:insetRight="@dimen/abc_edit_text_inset_horizontal_material"
|
android:insetRight="@dimen/abc_edit_text_inset_horizontal_material"
|
||||||
android:insetTop="@dimen/abc_edit_text_inset_top_material"
|
android:insetTop="@dimen/abc_edit_text_inset_top_material"
|
||||||
android:insetBottom="@dimen/abc_edit_text_inset_bottom_material">
|
android:insetBottom="@dimen/abc_edit_text_inset_bottom_material">
|
||||||
|
|
||||||
<selector>
|
<selector>
|
||||||
<!--
|
<!--
|
||||||
This file is a copy of abc_edit_text_material (https://bit.ly/3k8fX7I).
|
This file is a copy of abc_edit_text_material (https://bit.ly/3k8fX7I).
|
||||||
The item below with state_pressed="false" and state_focused="false" causes a NullPointerException.
|
The item below with state_pressed="false" and state_focused="false" causes a NullPointerException.
|
||||||
NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'
|
NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'
|
||||||
|
|
||||||
<item android:state_pressed="false" android:state_focused="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
|
<item android:state_pressed="false" android:state_focused="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
|
||||||
|
|
||||||
For more info, see https://bit.ly/3CdLStv (react-native/pull/29452) and https://bit.ly/3nxOMoR.
|
For more info, see https://bit.ly/3CdLStv (react-native/pull/29452) and https://bit.ly/3nxOMoR.
|
||||||
-->
|
-->
|
||||||
<item android:state_enabled="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
|
<item android:state_enabled="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
|
||||||
<item android:drawable="@drawable/abc_textfield_activated_mtrl_alpha"/>
|
<item android:drawable="@drawable/abc_textfield_activated_mtrl_alpha"/>
|
||||||
</selector>
|
</selector>
|
||||||
|
|
||||||
</inset>
|
</inset>
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">BigBlueButton</string>
|
<string name="app_name">航通训练</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -4,6 +4,12 @@
|
|||||||
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
|
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
|
||||||
<!-- Customize your theme here. -->
|
<!-- Customize your theme here. -->
|
||||||
<item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
|
<item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
|
||||||
|
<item name="android:windowNoTitle" >true</item>
|
||||||
|
<item name="android:windowFullscreen" >true</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="FullScreen">
|
||||||
|
<item name="android:windowNoTitle" >true</item>
|
||||||
|
<item name="android:windowFullscreen" >true</item>
|
||||||
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -1,19 +1,30 @@
|
|||||||
|
import org.apache.tools.ant.taskdefs.condition.Os
|
||||||
|
|
||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
ext {
|
ext {
|
||||||
buildToolsVersion = "30.0.2"
|
buildToolsVersion = "31.0.0"
|
||||||
minSdkVersion = 21
|
minSdkVersion = 21
|
||||||
compileSdkVersion = 30
|
compileSdkVersion = 31
|
||||||
targetSdkVersion = 30
|
targetSdkVersion = 31
|
||||||
ndkVersion = "21.4.7075529"
|
|
||||||
|
if (System.properties['os.arch'] == "aarch64") {
|
||||||
|
// For M1 Users we need to use the NDK 24 which added support for aarch64
|
||||||
|
ndkVersion = "24.0.8215888"
|
||||||
|
} else {
|
||||||
|
// Otherwise we default to the side-by-side NDK version from AGP.
|
||||||
|
ndkVersion = "21.4.7075529"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("com.android.tools.build:gradle:4.2.2")
|
classpath("com.android.tools.build:gradle:7.1.1")
|
||||||
|
classpath("com.facebook.react:react-native-gradle-plugin")
|
||||||
|
classpath("de.undercouch:gradle-download-task:5.0.1")
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
# Specifies the JVM arguments used for the daemon process.
|
# Specifies the JVM arguments used for the daemon process.
|
||||||
# The setting is particularly useful for tweaking memory settings.
|
# The setting is particularly useful for tweaking memory settings.
|
||||||
# Default value: -Xmx1024m -XX:MaxPermSize=256m
|
# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
|
||||||
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
|
||||||
|
|
||||||
# When configured, Gradle will run in incubating parallel mode.
|
# When configured, Gradle will run in incubating parallel mode.
|
||||||
# This option should only be used with decoupled projects. More details, visit
|
# This option should only be used with decoupled projects. More details, visit
|
||||||
@@ -25,4 +25,16 @@ android.useAndroidX=true
|
|||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
|
|
||||||
# Version of flipper SDK to use with React Native
|
# Version of flipper SDK to use with React Native
|
||||||
FLIPPER_VERSION=0.99.0
|
FLIPPER_VERSION=0.125.0
|
||||||
|
|
||||||
|
# Use this property to specify which architecture you want to build.
|
||||||
|
# You can also override it from the CLI using
|
||||||
|
# ./gradlew <task> -PreactNativeArchitectures=x86_64
|
||||||
|
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
||||||
|
|
||||||
|
# Use this property to enable support to the new architecture.
|
||||||
|
# This will allow you to use TurboModules and the Fabric render in
|
||||||
|
# your application. You should enable this flag either if you want
|
||||||
|
# to write custom TurboModules/Fabric components OR use libraries that
|
||||||
|
# are providing them.
|
||||||
|
newArchEnabled=false
|
||||||
|
|||||||
BIN
android/gradle/wrapper/gradle-wrapper.jar
vendored
@@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|||||||
269
android/gradlew
vendored
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env sh
|
#!/bin/sh
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright 2015 the original author or authors.
|
# Copyright © 2015-2021 the original authors.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -17,67 +17,101 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
##
|
#
|
||||||
## Gradle start up script for UN*X
|
# Gradle start up script for POSIX generated by Gradle.
|
||||||
##
|
#
|
||||||
|
# Important for running:
|
||||||
|
#
|
||||||
|
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||||
|
# noncompliant, but you have some other compliant shell such as ksh or
|
||||||
|
# bash, then to run this script, type that shell name before the whole
|
||||||
|
# command line, like:
|
||||||
|
#
|
||||||
|
# ksh Gradle
|
||||||
|
#
|
||||||
|
# Busybox and similar reduced shells will NOT work, because this script
|
||||||
|
# requires all of these POSIX shell features:
|
||||||
|
# * functions;
|
||||||
|
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||||
|
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||||
|
# * compound commands having a testable exit status, especially «case»;
|
||||||
|
# * various built-in commands including «command», «set», and «ulimit».
|
||||||
|
#
|
||||||
|
# Important for patching:
|
||||||
|
#
|
||||||
|
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||||
|
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||||
|
#
|
||||||
|
# The "traditional" practice of packing multiple parameters into a
|
||||||
|
# space-separated string is a well documented source of bugs and security
|
||||||
|
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||||
|
# options in "$@", and eventually passing that to Java.
|
||||||
|
#
|
||||||
|
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||||
|
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||||
|
# see the in-line comments for details.
|
||||||
|
#
|
||||||
|
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||||
|
# Darwin, MinGW, and NonStop.
|
||||||
|
#
|
||||||
|
# (3) This script is generated from the Groovy template
|
||||||
|
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||||
|
# within the Gradle project.
|
||||||
|
#
|
||||||
|
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||||
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Attempt to set APP_HOME
|
# Attempt to set APP_HOME
|
||||||
|
|
||||||
# Resolve links: $0 may be a link
|
# Resolve links: $0 may be a link
|
||||||
PRG="$0"
|
app_path=$0
|
||||||
# Need this for relative symlinks.
|
|
||||||
while [ -h "$PRG" ] ; do
|
# Need this for daisy-chained symlinks.
|
||||||
ls=`ls -ld "$PRG"`
|
while
|
||||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||||
if expr "$link" : '/.*' > /dev/null; then
|
[ -h "$app_path" ]
|
||||||
PRG="$link"
|
do
|
||||||
else
|
ls=$( ls -ld "$app_path" )
|
||||||
PRG=`dirname "$PRG"`"/$link"
|
link=${ls#*' -> '}
|
||||||
fi
|
case $link in #(
|
||||||
|
/*) app_path=$link ;; #(
|
||||||
|
*) app_path=$APP_HOME$link ;;
|
||||||
|
esac
|
||||||
done
|
done
|
||||||
SAVED="`pwd`"
|
|
||||||
cd "`dirname \"$PRG\"`/" >/dev/null
|
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||||
APP_HOME="`pwd -P`"
|
|
||||||
cd "$SAVED" >/dev/null
|
|
||||||
|
|
||||||
APP_NAME="Gradle"
|
APP_NAME="Gradle"
|
||||||
APP_BASE_NAME=`basename "$0"`
|
APP_BASE_NAME=${0##*/}
|
||||||
|
|
||||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||||
|
|
||||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
MAX_FD="maximum"
|
MAX_FD=maximum
|
||||||
|
|
||||||
warn () {
|
warn () {
|
||||||
echo "$*"
|
echo "$*"
|
||||||
}
|
} >&2
|
||||||
|
|
||||||
die () {
|
die () {
|
||||||
echo
|
echo
|
||||||
echo "$*"
|
echo "$*"
|
||||||
echo
|
echo
|
||||||
exit 1
|
exit 1
|
||||||
}
|
} >&2
|
||||||
|
|
||||||
# OS specific support (must be 'true' or 'false').
|
# OS specific support (must be 'true' or 'false').
|
||||||
cygwin=false
|
cygwin=false
|
||||||
msys=false
|
msys=false
|
||||||
darwin=false
|
darwin=false
|
||||||
nonstop=false
|
nonstop=false
|
||||||
case "`uname`" in
|
case "$( uname )" in #(
|
||||||
CYGWIN* )
|
CYGWIN* ) cygwin=true ;; #(
|
||||||
cygwin=true
|
Darwin* ) darwin=true ;; #(
|
||||||
;;
|
MSYS* | MINGW* ) msys=true ;; #(
|
||||||
Darwin* )
|
NONSTOP* ) nonstop=true ;;
|
||||||
darwin=true
|
|
||||||
;;
|
|
||||||
MINGW* )
|
|
||||||
msys=true
|
|
||||||
;;
|
|
||||||
NONSTOP* )
|
|
||||||
nonstop=true
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||||
@@ -87,9 +121,9 @@ CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
|||||||
if [ -n "$JAVA_HOME" ] ; then
|
if [ -n "$JAVA_HOME" ] ; then
|
||||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||||
# IBM's JDK on AIX uses strange locations for the executables
|
# IBM's JDK on AIX uses strange locations for the executables
|
||||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
JAVACMD=$JAVA_HOME/jre/sh/java
|
||||||
else
|
else
|
||||||
JAVACMD="$JAVA_HOME/bin/java"
|
JAVACMD=$JAVA_HOME/bin/java
|
||||||
fi
|
fi
|
||||||
if [ ! -x "$JAVACMD" ] ; then
|
if [ ! -x "$JAVACMD" ] ; then
|
||||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||||
@@ -98,7 +132,7 @@ Please set the JAVA_HOME variable in your environment to match the
|
|||||||
location of your Java installation."
|
location of your Java installation."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
JAVACMD="java"
|
JAVACMD=java
|
||||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||||
|
|
||||||
Please set the JAVA_HOME variable in your environment to match the
|
Please set the JAVA_HOME variable in your environment to match the
|
||||||
@@ -106,80 +140,95 @@ location of your Java installation."
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Increase the maximum file descriptors if we can.
|
# Increase the maximum file descriptors if we can.
|
||||||
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||||
MAX_FD_LIMIT=`ulimit -H -n`
|
case $MAX_FD in #(
|
||||||
if [ $? -eq 0 ] ; then
|
max*)
|
||||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
MAX_FD=$( ulimit -H -n ) ||
|
||||||
MAX_FD="$MAX_FD_LIMIT"
|
warn "Could not query maximum file descriptor limit"
|
||||||
fi
|
esac
|
||||||
ulimit -n $MAX_FD
|
case $MAX_FD in #(
|
||||||
if [ $? -ne 0 ] ; then
|
'' | soft) :;; #(
|
||||||
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
*)
|
||||||
fi
|
ulimit -n "$MAX_FD" ||
|
||||||
else
|
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||||
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# For Darwin, add options to specify how the application appears in the dock
|
|
||||||
if $darwin; then
|
|
||||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# For Cygwin or MSYS, switch paths to Windows format before running java
|
|
||||||
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
|
|
||||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
|
||||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
|
||||||
|
|
||||||
JAVACMD=`cygpath --unix "$JAVACMD"`
|
|
||||||
|
|
||||||
# We build the pattern for arguments to be converted via cygpath
|
|
||||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
|
||||||
SEP=""
|
|
||||||
for dir in $ROOTDIRSRAW ; do
|
|
||||||
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
|
||||||
SEP="|"
|
|
||||||
done
|
|
||||||
OURCYGPATTERN="(^($ROOTDIRS))"
|
|
||||||
# Add a user-defined pattern to the cygpath arguments
|
|
||||||
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
|
||||||
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
|
||||||
fi
|
|
||||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
|
||||||
i=0
|
|
||||||
for arg in "$@" ; do
|
|
||||||
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
|
||||||
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
|
||||||
|
|
||||||
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
|
||||||
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
|
||||||
else
|
|
||||||
eval `echo args$i`="\"$arg\""
|
|
||||||
fi
|
|
||||||
i=`expr $i + 1`
|
|
||||||
done
|
|
||||||
case $i in
|
|
||||||
0) set -- ;;
|
|
||||||
1) set -- "$args0" ;;
|
|
||||||
2) set -- "$args0" "$args1" ;;
|
|
||||||
3) set -- "$args0" "$args1" "$args2" ;;
|
|
||||||
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
|
||||||
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
|
||||||
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
|
||||||
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
|
||||||
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
|
||||||
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Escape application args
|
# Collect all arguments for the java command, stacking in reverse order:
|
||||||
save () {
|
# * args from the command line
|
||||||
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
# * the main class name
|
||||||
echo " "
|
# * -classpath
|
||||||
}
|
# * -D...appname settings
|
||||||
APP_ARGS=`save "$@"`
|
# * --module-path (only if needed)
|
||||||
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||||
|
|
||||||
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||||
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
if "$cygwin" || "$msys" ; then
|
||||||
|
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||||
|
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||||
|
|
||||||
|
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||||
|
|
||||||
|
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||||
|
for arg do
|
||||||
|
if
|
||||||
|
case $arg in #(
|
||||||
|
-*) false ;; # don't mess with options #(
|
||||||
|
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||||
|
[ -e "$t" ] ;; #(
|
||||||
|
*) false ;;
|
||||||
|
esac
|
||||||
|
then
|
||||||
|
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||||
|
fi
|
||||||
|
# Roll the args list around exactly as many times as the number of
|
||||||
|
# args, so each arg winds up back in the position where it started, but
|
||||||
|
# possibly modified.
|
||||||
|
#
|
||||||
|
# NB: a `for` loop captures its iteration list before it begins, so
|
||||||
|
# changing the positional parameters here affects neither the number of
|
||||||
|
# iterations, nor the values presented in `arg`.
|
||||||
|
shift # remove old arg
|
||||||
|
set -- "$@" "$arg" # push replacement arg
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Collect all arguments for the java command;
|
||||||
|
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||||
|
# shell script including quotes and variable substitutions, so put them in
|
||||||
|
# double quotes to make sure that they get re-expanded; and
|
||||||
|
# * put everything else in single quotes, so that it's not re-expanded.
|
||||||
|
|
||||||
|
set -- \
|
||||||
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||||
|
-classpath "$CLASSPATH" \
|
||||||
|
org.gradle.wrapper.GradleWrapperMain \
|
||||||
|
"$@"
|
||||||
|
|
||||||
|
# Use "xargs" to parse quoted args.
|
||||||
|
#
|
||||||
|
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||||
|
#
|
||||||
|
# In Bash we could simply go:
|
||||||
|
#
|
||||||
|
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||||
|
# set -- "${ARGS[@]}" "$@"
|
||||||
|
#
|
||||||
|
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||||
|
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||||
|
# character that might be a shell metacharacter, then use eval to reverse
|
||||||
|
# that process (while maintaining the separation between arguments), and wrap
|
||||||
|
# the whole thing up as a single "set" statement.
|
||||||
|
#
|
||||||
|
# This will of course break if any of these variables contains a newline or
|
||||||
|
# an unmatched quote.
|
||||||
|
#
|
||||||
|
|
||||||
|
eval "set -- $(
|
||||||
|
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||||
|
xargs -n1 |
|
||||||
|
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||||
|
tr '\n' ' '
|
||||||
|
)" '"$@"'
|
||||||
|
|
||||||
exec "$JAVACMD" "$@"
|
exec "$JAVACMD" "$@"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
rootProject.name = 'BigBlueButton'
|
rootProject.name = 'BigBlueButtonTablet'
|
||||||
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
|
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
|
||||||
include ':app'
|
include ':app'
|
||||||
|
includeBuild('../node_modules/react-native-gradle-plugin')
|
||||||
|
|
||||||
|
if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true") {
|
||||||
|
include(":ReactAndroid")
|
||||||
|
project(":ReactAndroid").projectDir = file('../node_modules/react-native/ReactAndroid')
|
||||||
|
include(":ReactAndroid:hermes-engine")
|
||||||
|
project(":ReactAndroid:hermes-engine").projectDir = file('../node_modules/react-native/ReactAndroid/hermes-engine')
|
||||||
|
}
|
||||||
|
|||||||
4
app.json
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "BigBlueButton",
|
"name": "BigBlueButtonTablet",
|
||||||
"displayName": "BigBlueButton"
|
"displayName": "BigBlueButton Tablet"
|
||||||
}
|
}
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
presets: ['module:metro-react-native-babel-preset'],
|
presets: ['module:metro-react-native-babel-preset'],
|
||||||
|
plugins: [
|
||||||
|
'react-native-reanimated/plugin',
|
||||||
|
]
|
||||||
};
|
};
|
||||||
|
|||||||
1
bash-intel.sh
Executable file
@@ -0,0 +1 @@
|
|||||||
|
env /usr/bin/arch -arm64 /bin/bash --login
|
||||||
11
ios/.xcode.env
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# This `.xcode.env` file is versioned and is used to source the environment
|
||||||
|
# used when running script phases inside Xcode.
|
||||||
|
# To customize your local environment, you can create an `.xcode.env.local`
|
||||||
|
# file that is not versioned.
|
||||||
|
|
||||||
|
# NODE_BINARY variable contains the PATH to the node executable.
|
||||||
|
#
|
||||||
|
# Customize the NODE_BINARY variable here.
|
||||||
|
# For example, to use nvm with brew, add the following line
|
||||||
|
# . "$(brew --prefix nvm)/nvm.sh" --no-use
|
||||||
|
export NODE_BINARY=$(command -v node)
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>com.apple.security.application-groups</key>
|
||||||
|
<array>
|
||||||
|
<string>group.org.bigbluebutton.tablet</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@@ -1,5 +1,16 @@
|
|||||||
import bigbluebutton_mobile_sdk_common
|
//
|
||||||
|
// SampleHandler.swift
|
||||||
|
// BigBlueButton Broadcast
|
||||||
|
//
|
||||||
|
// Created by Tiago Daniel Jacobs on 22/08/22.
|
||||||
|
//
|
||||||
|
|
||||||
class SampleHandler: BBBSampleHandler {
|
import ReplayKit
|
||||||
|
import bigbluebutton_tablet_sdk_broadcast_upload_extension
|
||||||
|
|
||||||
|
class SampleHandler:BBBSampleHandler{
|
||||||
|
override func broadcastStarted(withSetupInfo setupInfo: [String : NSObject]?) {
|
||||||
|
super.setAppGroupName(appGroupName: Constants.appGroupName)
|
||||||
|
super.broadcastStarted(withSetupInfo: setupInfo)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
11
ios/BigBlueButton Tablet-Bridging-Header.h
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
//
|
||||||
|
// Use this file to import your target's public headers that you would like to expose to Swift.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <React/RCTBridgeModule.h>
|
||||||
|
#import <React/RCTBridge.h>
|
||||||
|
#import <React/RCTEventDispatcher.h>
|
||||||
|
#import <React/RCTRootView.h>
|
||||||
|
#import <React/RCTUtils.h>
|
||||||
|
#import <React/RCTConvert.h>
|
||||||
|
#import <React/RCTBundleURLProvider.h>
|
||||||
10
ios/BigBlueButton Tablet.entitlements
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>com.apple.security.application-groups</key>
|
||||||
|
<array>
|
||||||
|
<string>group.org.bigbluebutton.tablet</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@@ -15,9 +15,9 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
||||||
BuildableName = "BigBlueButton.app"
|
BuildableName = "BigBlueButton Tablet.app"
|
||||||
BlueprintName = "BigBlueButton"
|
BlueprintName = "BigBlueButton Tablet"
|
||||||
ReferencedContainer = "container:BigBlueButton.xcodeproj">
|
ReferencedContainer = "container:BigBlueButton Tablet.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildActionEntry>
|
</BuildActionEntry>
|
||||||
</BuildActionEntries>
|
</BuildActionEntries>
|
||||||
@@ -33,15 +33,15 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
||||||
BuildableName = "BigBlueButtonTests.xctest"
|
BuildableName = "BigBlueButton TabletTests.xctest"
|
||||||
BlueprintName = "BigBlueButtonTests"
|
BlueprintName = "BigBlueButton TabletTests"
|
||||||
ReferencedContainer = "container:BigBlueButton.xcodeproj">
|
ReferencedContainer = "container:BigBlueButton Tablet.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</TestableReference>
|
</TestableReference>
|
||||||
</Testables>
|
</Testables>
|
||||||
</TestAction>
|
</TestAction>
|
||||||
<LaunchAction
|
<LaunchAction
|
||||||
buildConfiguration = "Debug"
|
buildConfiguration = "Release"
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
launchStyle = "0"
|
launchStyle = "0"
|
||||||
@@ -55,9 +55,9 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
||||||
BuildableName = "BigBlueButton.app"
|
BuildableName = "BigBlueButton Tablet.app"
|
||||||
BlueprintName = "BigBlueButton"
|
BlueprintName = "BigBlueButton Tablet"
|
||||||
ReferencedContainer = "container:BigBlueButton.xcodeproj">
|
ReferencedContainer = "container:BigBlueButton Tablet.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
</LaunchAction>
|
</LaunchAction>
|
||||||
@@ -72,9 +72,9 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
||||||
BuildableName = "BigBlueButton.app"
|
BuildableName = "BigBlueButton Tablet.app"
|
||||||
BlueprintName = "BigBlueButton"
|
BlueprintName = "BigBlueButton Tablet"
|
||||||
ReferencedContainer = "container:BigBlueButton.xcodeproj">
|
ReferencedContainer = "container:BigBlueButton Tablet.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
</ProfileAction>
|
</ProfileAction>
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
<Workspace
|
<Workspace
|
||||||
version = "1.0">
|
version = "1.0">
|
||||||
<FileRef
|
<FileRef
|
||||||
location = "group:BigBlueButton.xcodeproj">
|
location = "group:BigBlueButton Tablet.xcodeproj">
|
||||||
</FileRef>
|
</FileRef>
|
||||||
<FileRef
|
<FileRef
|
||||||
location = "group:Pods/Pods.xcodeproj">
|
location = "group:Pods/Pods.xcodeproj">
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>IDEDidComputeMac32BitWarning</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#import <React/RCTBridgeDelegate.h>
|
|
||||||
#import <UIKit/UIKit.h>
|
|
||||||
|
|
||||||
@interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>
|
|
||||||
|
|
||||||
@property (nonatomic, strong) UIWindow *window;
|
|
||||||
|
|
||||||
@end
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
#import "AppDelegate.h"
|
|
||||||
|
|
||||||
#import <React/RCTBridge.h>
|
|
||||||
#import <React/RCTBundleURLProvider.h>
|
|
||||||
#import <React/RCTRootView.h>
|
|
||||||
|
|
||||||
#ifdef FB_SONARKIT_ENABLED
|
|
||||||
#import <FlipperKit/FlipperClient.h>
|
|
||||||
#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
|
|
||||||
#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
|
|
||||||
#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
|
|
||||||
#import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
|
|
||||||
#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>
|
|
||||||
|
|
||||||
static void InitializeFlipper(UIApplication *application) {
|
|
||||||
FlipperClient *client = [FlipperClient sharedClient];
|
|
||||||
SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults];
|
|
||||||
[client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]];
|
|
||||||
[client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];
|
|
||||||
[client addPlugin:[FlipperKitReactPlugin new]];
|
|
||||||
[client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
|
|
||||||
[client start];
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
@implementation AppDelegate
|
|
||||||
|
|
||||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
|
||||||
{
|
|
||||||
#ifdef FB_SONARKIT_ENABLED
|
|
||||||
InitializeFlipper(application);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
|
|
||||||
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
|
|
||||||
moduleName:@"BigBlueButton"
|
|
||||||
initialProperties:nil];
|
|
||||||
|
|
||||||
if (@available(iOS 13.0, *)) {
|
|
||||||
rootView.backgroundColor = [UIColor systemBackgroundColor];
|
|
||||||
} else {
|
|
||||||
rootView.backgroundColor = [UIColor whiteColor];
|
|
||||||
}
|
|
||||||
|
|
||||||
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
|
||||||
UIViewController *rootViewController = [UIViewController new];
|
|
||||||
rootViewController.view = rootView;
|
|
||||||
self.window.rootViewController = rootViewController;
|
|
||||||
[self.window makeKeyAndVisible];
|
|
||||||
return YES;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
|
|
||||||
{
|
|
||||||
#if DEBUG
|
|
||||||
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
|
|
||||||
#else
|
|
||||||
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
@end
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
{
|
|
||||||
"images" : [
|
|
||||||
{
|
|
||||||
"idiom" : "iphone",
|
|
||||||
"size" : "29x29",
|
|
||||||
"scale" : "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"idiom" : "iphone",
|
|
||||||
"size" : "29x29",
|
|
||||||
"scale" : "3x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"idiom" : "iphone",
|
|
||||||
"size" : "40x40",
|
|
||||||
"scale" : "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"idiom" : "iphone",
|
|
||||||
"size" : "40x40",
|
|
||||||
"scale" : "3x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"idiom" : "iphone",
|
|
||||||
"size" : "60x60",
|
|
||||||
"scale" : "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"idiom" : "iphone",
|
|
||||||
"size" : "60x60",
|
|
||||||
"scale" : "3x"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"info" : {
|
|
||||||
"version" : 1,
|
|
||||||
"author" : "xcode"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"info" : {
|
|
||||||
"version" : 1,
|
|
||||||
"author" : "xcode"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#import <UIKit/UIKit.h>
|
|
||||||
|
|
||||||
#import "AppDelegate.h"
|
|
||||||
|
|
||||||
int main(int argc, char * argv[]) {
|
|
||||||
@autoreleasepool {
|
|
||||||
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
55
ios/BigBlueButtonTablet/AppDelegate.swift
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
//
|
||||||
|
// AppDelegate.swift
|
||||||
|
//
|
||||||
|
// Created by Tiago Daniel Jacobs on 11/03/22.
|
||||||
|
//
|
||||||
|
import UIKit
|
||||||
|
import bigbluebutton_tablet_sdk
|
||||||
|
|
||||||
|
@UIApplicationMain
|
||||||
|
class AppDelegate: UIResponder, UIApplicationDelegate, RCTBridgeDelegate {
|
||||||
|
|
||||||
|
var window: UIWindow?
|
||||||
|
var bridge: RCTBridge!
|
||||||
|
|
||||||
|
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
|
||||||
|
|
||||||
|
bridge = RCTBridge(delegate: self, launchOptions: launchOptions)
|
||||||
|
let rootView = RCTRootView(bridge: bridge!, moduleName: Bundle.main.infoDictionary![kCFBundleNameKey as String] as! String, initialProperties: nil)
|
||||||
|
|
||||||
|
if #available(iOS 13.0, *) {
|
||||||
|
rootView.backgroundColor = .systemBackground
|
||||||
|
} else {
|
||||||
|
rootView.backgroundColor = .white
|
||||||
|
}
|
||||||
|
|
||||||
|
let rootViewController = UIViewController()
|
||||||
|
rootViewController.view = rootView
|
||||||
|
|
||||||
|
self.window = UIWindow(frame: UIScreen.main.bounds)
|
||||||
|
self.window?.rootViewController = rootViewController
|
||||||
|
self.window?.makeKeyAndVisible()
|
||||||
|
|
||||||
|
BigBlueButtonSDK.initialize(broadcastExtensionBundleId: Constants.broadcastExtensionBundleId, appGroupName: Constants.appGroupName)
|
||||||
|
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
|
||||||
|
BigBlueButtonSDK.handleDeepLink(app, open: url, options: options)
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
func applicationWillTerminate(_ application: UIApplication) {
|
||||||
|
BigBlueButtonSDK.onAppTerminated()
|
||||||
|
}
|
||||||
|
|
||||||
|
func sourceURL(for bridge: RCTBridge!) -> URL! {
|
||||||
|
//#if DEBUG
|
||||||
|
return RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
|
||||||
|
//#else
|
||||||
|
// let mainBundle = Bundle.main
|
||||||
|
// return mainBundle.url(forResource: "main", withExtension: "jsbundle")!
|
||||||
|
//#endif
|
||||||
|
}
|
||||||
|
}
|
||||||
10
ios/BigBlueButtonTablet/Constants.swift
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
import Foundation
|
||||||
|
|
||||||
|
class Constants {
|
||||||
|
// This is used to filter the list of broadcast applications offered to the user (it must match with bundle id of the broadcast extension target)
|
||||||
|
public static var broadcastExtensionBundleId="org.bigbluebutton.tablet.BigBlueButton-Broadcast";
|
||||||
|
|
||||||
|
// This is used to allow both applications (main and broadcast) to share information
|
||||||
|
public static var appGroupName="group.org.bigbluebutton.tablet";
|
||||||
|
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 209 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 6.0 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
@@ -0,0 +1,158 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "40.png",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"scale" : "2x",
|
||||||
|
"size" : "20x20"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "60.png",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"scale" : "3x",
|
||||||
|
"size" : "20x20"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "29.png",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"scale" : "1x",
|
||||||
|
"size" : "29x29"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "58.png",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"scale" : "2x",
|
||||||
|
"size" : "29x29"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "87.png",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"scale" : "3x",
|
||||||
|
"size" : "29x29"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "80.png",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"scale" : "2x",
|
||||||
|
"size" : "40x40"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "120.png",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"scale" : "3x",
|
||||||
|
"size" : "40x40"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "57.png",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"scale" : "1x",
|
||||||
|
"size" : "57x57"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "114.png",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"scale" : "2x",
|
||||||
|
"size" : "57x57"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "120.png",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"scale" : "2x",
|
||||||
|
"size" : "60x60"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "180.png",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"scale" : "3x",
|
||||||
|
"size" : "60x60"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "20.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "1x",
|
||||||
|
"size" : "20x20"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "40.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "2x",
|
||||||
|
"size" : "20x20"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "29.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "1x",
|
||||||
|
"size" : "29x29"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "58.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "2x",
|
||||||
|
"size" : "29x29"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "40.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "1x",
|
||||||
|
"size" : "40x40"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "80.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "2x",
|
||||||
|
"size" : "40x40"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "50.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "1x",
|
||||||
|
"size" : "50x50"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "100.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "2x",
|
||||||
|
"size" : "50x50"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "72.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "1x",
|
||||||
|
"size" : "72x72"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "144.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "2x",
|
||||||
|
"size" : "72x72"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "76.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "1x",
|
||||||
|
"size" : "76x76"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "152.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "2x",
|
||||||
|
"size" : "76x76"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "167.png",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"scale" : "2x",
|
||||||
|
"size" : "83.5x83.5"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "1024.png",
|
||||||
|
"idiom" : "ios-marketing",
|
||||||
|
"scale" : "1x",
|
||||||
|
"size" : "1024x1024"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
6
ios/BigBlueButtonTablet/Images.xcassets/Contents.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
44
ios/BigBlueButtonTablet/Images.xcassets/Image.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "Icon-20x20@1x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "Icon-20x20@2x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "Icon-20x20@3x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "Icon-20x20@1x 1.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"locale" : "pt-BR",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "Icon-20x20@2x 1.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"locale" : "pt-BR",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "Icon-20x20@3x 1.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"locale" : "pt-BR",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
},
|
||||||
|
"properties" : {
|
||||||
|
"localizable" : true
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
ios/BigBlueButtonTablet/Images.xcassets/Image.imageset/Icon-20x20@1x 1.png
vendored
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
ios/BigBlueButtonTablet/Images.xcassets/Image.imageset/Icon-20x20@1x.png
vendored
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
ios/BigBlueButtonTablet/Images.xcassets/Image.imageset/Icon-20x20@2x 1.png
vendored
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
ios/BigBlueButtonTablet/Images.xcassets/Image.imageset/Icon-20x20@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
ios/BigBlueButtonTablet/Images.xcassets/Image.imageset/Icon-20x20@3x 1.png
vendored
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
ios/BigBlueButtonTablet/Images.xcassets/Image.imageset/Icon-20x20@3x.png
vendored
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
@@ -5,7 +5,7 @@
|
|||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>en</string>
|
<string>en</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
<string>BigBlueButton</string>
|
<string>BigBlueButtonTablet</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>$(EXECUTABLE_NAME)</string>
|
<string>$(EXECUTABLE_NAME)</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
@@ -17,23 +17,38 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.0</string>
|
<string>$(MARKETING_VERSION)</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
|
<key>CFBundleURLTypes</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Viewer</string>
|
||||||
|
<key>CFBundleURLName</key>
|
||||||
|
<string>org.bigbluebutton.tablet</string>
|
||||||
|
<key>CFBundleURLSchemes</key>
|
||||||
|
<array>
|
||||||
|
<string>bigbluebutton-tablet</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1</string>
|
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||||
|
<key>ITSAppUsesNonExemptEncryption</key>
|
||||||
|
<false/>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>NSAppTransportSecurity</key>
|
<key>NSAppTransportSecurity</key>
|
||||||
<dict>
|
<dict/>
|
||||||
<key>NSExceptionDomains</key>
|
<key>NSCameraUsageDescription</key>
|
||||||
<dict>
|
<string>BigBlueButton captures your camera if you share your webcam during a meeting</string>
|
||||||
<key>NSAllowsArbitraryLoads</key>
|
<key>NSMicrophoneUsageDescription</key>
|
||||||
<false/>
|
<string>BigBlueButton captures your microphone if you join in full audio mode</string>
|
||||||
</dict>
|
<key>UIBackgroundModes</key>
|
||||||
</dict>
|
<array>
|
||||||
<key>NSLocationWhenInUseUsageDescription</key>
|
<string>audio</string>
|
||||||
<string></string>
|
</array>
|
||||||
<key>UILaunchStoryboardName</key>
|
<key>UILaunchStoryboardName</key>
|
||||||
<string>LaunchScreen</string>
|
<string>LaunchScreen</string>
|
||||||
<key>UIRequiredDeviceCapabilities</key>
|
<key>UIRequiredDeviceCapabilities</key>
|
||||||
@@ -42,9 +57,10 @@
|
|||||||
</array>
|
</array>
|
||||||
<key>UISupportedInterfaceOrientations</key>
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
<array>
|
<array>
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
|
||||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
|
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||||
</array>
|
</array>
|
||||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||||
<false/>
|
<false/>
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21223" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
||||||
<device id="retina4_7" orientation="portrait" appearance="light"/>
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="iOS"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21204"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
|
|
||||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||||
|
<capability name="System colors in document resources" minToolsVersion="11.0"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<scenes>
|
<scenes>
|
||||||
@@ -13,21 +12,22 @@
|
|||||||
<objects>
|
<objects>
|
||||||
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
|
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
|
||||||
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
|
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="BigBlueButton" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
|
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="BigBlueButton Tablet" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
|
||||||
<rect key="frame" x="0.0" y="202" width="375" height="43"/>
|
<rect key="frame" x="0.0" y="180" width="600" height="43"/>
|
||||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
|
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="MN2-I3-ftu">
|
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="MN2-I3-ftu">
|
||||||
<rect key="frame" x="0.0" y="626" width="375" height="21"/>
|
<rect key="frame" x="0.0" y="559" width="600" height="21"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
</subviews>
|
</subviews>
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
|
||||||
|
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="Bcu-3y-fUS" firstAttribute="bottom" secondItem="MN2-I3-ftu" secondAttribute="bottom" constant="20" id="OZV-Vh-mqD"/>
|
<constraint firstItem="Bcu-3y-fUS" firstAttribute="bottom" secondItem="MN2-I3-ftu" secondAttribute="bottom" constant="20" id="OZV-Vh-mqD"/>
|
||||||
<constraint firstItem="Bcu-3y-fUS" firstAttribute="centerX" secondItem="GJd-Yh-RWb" secondAttribute="centerX" id="Q3B-4B-g5h"/>
|
<constraint firstItem="Bcu-3y-fUS" firstAttribute="centerX" secondItem="GJd-Yh-RWb" secondAttribute="centerX" id="Q3B-4B-g5h"/>
|
||||||
@@ -36,7 +36,6 @@
|
|||||||
<constraint firstItem="GJd-Yh-RWb" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="bottom" multiplier="1/3" constant="1" id="moa-c2-u7t"/>
|
<constraint firstItem="GJd-Yh-RWb" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="bottom" multiplier="1/3" constant="1" id="moa-c2-u7t"/>
|
||||||
<constraint firstItem="GJd-Yh-RWb" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" symbolic="YES" id="x7j-FC-K8j"/>
|
<constraint firstItem="GJd-Yh-RWb" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" symbolic="YES" id="x7j-FC-K8j"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
|
|
||||||
</view>
|
</view>
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
@@ -44,4 +43,9 @@
|
|||||||
<point key="canvasLocation" x="52.173913043478265" y="375"/>
|
<point key="canvasLocation" x="52.173913043478265" y="375"/>
|
||||||
</scene>
|
</scene>
|
||||||
</scenes>
|
</scenes>
|
||||||
|
<resources>
|
||||||
|
<systemColor name="systemBackgroundColor">
|
||||||
|
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
|
</systemColor>
|
||||||
|
</resources>
|
||||||
</document>
|
</document>
|
||||||
@@ -7,13 +7,13 @@
|
|||||||
#define TIMEOUT_SECONDS 600
|
#define TIMEOUT_SECONDS 600
|
||||||
#define TEXT_TO_LOOK_FOR @"Welcome to React"
|
#define TEXT_TO_LOOK_FOR @"Welcome to React"
|
||||||
|
|
||||||
@interface BigBlueButtonTests : XCTestCase
|
@interface BigBlueButtonTabletTests : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation BigBlueButtonTests
|
@implementation BigBlueButtonTabletTests
|
||||||
|
|
||||||
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
|
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL (^)(UIView *view))test
|
||||||
{
|
{
|
||||||
if (test(view)) {
|
if (test(view)) {
|
||||||
return YES;
|
return YES;
|
||||||
@@ -34,23 +34,25 @@
|
|||||||
|
|
||||||
__block NSString *redboxError = nil;
|
__block NSString *redboxError = nil;
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
|
RCTSetLogFunction(
|
||||||
if (level >= RCTLogLevelError) {
|
^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
|
||||||
redboxError = message;
|
if (level >= RCTLogLevelError) {
|
||||||
}
|
redboxError = message;
|
||||||
});
|
}
|
||||||
|
});
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
|
while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
|
||||||
[[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
[[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
||||||
[[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
[[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
||||||
|
|
||||||
foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
|
foundElement = [self findSubviewInView:vc.view
|
||||||
if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
|
matching:^BOOL(UIView *view) {
|
||||||
return YES;
|
if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
|
||||||
}
|
return YES;
|
||||||
return NO;
|
}
|
||||||
}];
|
return NO;
|
||||||
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
@@ -61,5 +63,4 @@
|
|||||||
XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
|
XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
64
ios/Podfile
@@ -2,33 +2,69 @@ require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|||||||
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
||||||
|
|
||||||
platform :ios, '14.7'
|
platform :ios, '14.7'
|
||||||
|
install! 'cocoapods', :deterministic_uuids => false
|
||||||
|
|
||||||
|
production = ENV["PRODUCTION"] == "1"
|
||||||
|
|
||||||
target 'BigBlueButton Broadcast' do
|
target 'BigBlueButton Broadcast' do
|
||||||
pod 'bigbluebutton-mobile-sdk-common', :path => '../node_modules/bigbluebutton-mobile-sdk/common'
|
pod 'bigbluebutton-tablet-sdk-common', :path => '../node_modules/bigbluebutton-tablet-sdk/ios-common'
|
||||||
|
pod 'bigbluebutton-tablet-sdk-broadcast-upload-extension', :path => '../node_modules/bigbluebutton-tablet-sdk/ios-broadcast-upload-extension'
|
||||||
end
|
end
|
||||||
|
|
||||||
target 'BigBlueButton' do
|
target 'BigBlueButton TabletTests' do
|
||||||
|
inherit! :complete
|
||||||
|
# Pods for testing
|
||||||
|
end
|
||||||
|
|
||||||
|
target 'BigBlueButton Tablet' do
|
||||||
|
pod 'bigbluebutton-tablet-sdk-common', :path => '../node_modules/bigbluebutton-tablet-sdk/ios-common'
|
||||||
config = use_native_modules!
|
config = use_native_modules!
|
||||||
|
|
||||||
|
# Flags change depending on the env values.
|
||||||
|
flags = get_default_flags()
|
||||||
|
|
||||||
use_react_native!(
|
use_react_native!(
|
||||||
:path => config[:reactNativePath],
|
:path => config[:reactNativePath],
|
||||||
# to enable hermes on iOS, change `false` to `true` and then install pods
|
# to enable hermes on iOS, change `false` to `true` and then install pods
|
||||||
:hermes_enabled => false
|
:production => production,
|
||||||
|
:hermes_enabled => flags[:hermes_enabled],
|
||||||
|
:fabric_enabled => flags[:fabric_enabled],
|
||||||
|
:flipper_configuration => FlipperConfiguration.enabled,
|
||||||
|
# An absolute path to your application root.
|
||||||
|
:app_path => "#{Pod::Config.instance.installation_root}/.."
|
||||||
)
|
)
|
||||||
|
|
||||||
target 'BigBlueButtonTests' 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 the next line.
|
|
||||||
#use_flipper!()
|
|
||||||
|
|
||||||
post_install do |installer|
|
post_install do |installer|
|
||||||
react_native_post_install(installer)
|
react_native_post_install(installer)
|
||||||
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
||||||
|
# https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1188774894
|
||||||
|
# Get main project development team id
|
||||||
|
dev_team = ""
|
||||||
|
project = installer.aggregate_targets[0].user_project
|
||||||
|
project.targets.each do |target|
|
||||||
|
target.build_configurations.each do |config|
|
||||||
|
if dev_team.empty? and !config.build_settings['DEVELOPMENT_TEAM'].nil?
|
||||||
|
dev_team = config.build_settings['DEVELOPMENT_TEAM']
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Fix bundle targets' 'Signing Certificate' to 'Sign to Run Locally'
|
||||||
|
installer.pods_project.targets.each do |target|
|
||||||
|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
|
||||||
|
target.build_configurations.each do |config|
|
||||||
|
config.build_settings['DEVELOPMENT_TEAM'] = dev_team
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
#end of https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1188774894
|
||||||
|
|
||||||
|
# https://stackoverflow.com/a/32685434
|
||||||
|
installer.pods_project.targets.each do |target|
|
||||||
|
target.build_configurations.each do |config|
|
||||||
|
config.build_settings['ENABLE_BITCODE'] = 'NO'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
# end of https://stackoverflow.com/a/32685434
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
672
ios/Podfile.lock
@@ -1,21 +1,88 @@
|
|||||||
PODS:
|
PODS:
|
||||||
- bigbluebutton-mobile-sdk (0.1.6):
|
- bigbluebutton-tablet-sdk (0.1.35):
|
||||||
|
- bigbluebutton-tablet-sdk-common
|
||||||
- React-Core
|
- React-Core
|
||||||
|
- bigbluebutton-tablet-sdk-broadcast-upload-extension (0.1.35):
|
||||||
|
- bigbluebutton-tablet-sdk-common
|
||||||
- WebRTC-lib
|
- WebRTC-lib
|
||||||
- bigbluebutton-mobile-sdk-common (0.1.6):
|
- bigbluebutton-tablet-sdk-common (0.1.35):
|
||||||
- WebRTC-lib
|
- WebRTC-lib
|
||||||
- boost (1.76.0)
|
- boost (1.76.0)
|
||||||
|
- CocoaAsyncSocket (7.6.5)
|
||||||
- DoubleConversion (1.1.6)
|
- DoubleConversion (1.1.6)
|
||||||
- FBLazyVector (0.67.2)
|
- FBLazyVector (0.69.4)
|
||||||
- FBReactNativeSpec (0.67.2):
|
- FBReactNativeSpec (0.69.4):
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- RCTRequired (= 0.67.2)
|
- RCTRequired (= 0.69.4)
|
||||||
- RCTTypeSafety (= 0.67.2)
|
- RCTTypeSafety (= 0.69.4)
|
||||||
- React-Core (= 0.67.2)
|
- React-Core (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- ReactCommon/turbomodule/core (= 0.67.2)
|
- ReactCommon/turbomodule/core (= 0.69.4)
|
||||||
|
- Flipper (0.125.0):
|
||||||
|
- Flipper-Folly (~> 2.6)
|
||||||
|
- Flipper-RSocket (~> 1.4)
|
||||||
|
- Flipper-Boost-iOSX (1.76.0.1.11)
|
||||||
|
- Flipper-DoubleConversion (3.2.0.1)
|
||||||
|
- Flipper-Fmt (7.1.7)
|
||||||
|
- Flipper-Folly (2.6.10):
|
||||||
|
- Flipper-Boost-iOSX
|
||||||
|
- Flipper-DoubleConversion
|
||||||
|
- Flipper-Fmt (= 7.1.7)
|
||||||
|
- Flipper-Glog
|
||||||
|
- libevent (~> 2.1.12)
|
||||||
|
- OpenSSL-Universal (= 1.1.1100)
|
||||||
|
- Flipper-Glog (0.5.0.5)
|
||||||
|
- Flipper-PeerTalk (0.0.4)
|
||||||
|
- Flipper-RSocket (1.4.3):
|
||||||
|
- Flipper-Folly (~> 2.6)
|
||||||
|
- FlipperKit (0.125.0):
|
||||||
|
- FlipperKit/Core (= 0.125.0)
|
||||||
|
- FlipperKit/Core (0.125.0):
|
||||||
|
- Flipper (~> 0.125.0)
|
||||||
|
- FlipperKit/CppBridge
|
||||||
|
- FlipperKit/FBCxxFollyDynamicConvert
|
||||||
|
- FlipperKit/FBDefines
|
||||||
|
- FlipperKit/FKPortForwarding
|
||||||
|
- SocketRocket (~> 0.6.0)
|
||||||
|
- FlipperKit/CppBridge (0.125.0):
|
||||||
|
- Flipper (~> 0.125.0)
|
||||||
|
- FlipperKit/FBCxxFollyDynamicConvert (0.125.0):
|
||||||
|
- Flipper-Folly (~> 2.6)
|
||||||
|
- FlipperKit/FBDefines (0.125.0)
|
||||||
|
- FlipperKit/FKPortForwarding (0.125.0):
|
||||||
|
- CocoaAsyncSocket (~> 7.6)
|
||||||
|
- Flipper-PeerTalk (~> 0.0.4)
|
||||||
|
- FlipperKit/FlipperKitHighlightOverlay (0.125.0)
|
||||||
|
- FlipperKit/FlipperKitLayoutHelpers (0.125.0):
|
||||||
|
- FlipperKit/Core
|
||||||
|
- FlipperKit/FlipperKitHighlightOverlay
|
||||||
|
- FlipperKit/FlipperKitLayoutTextSearchable
|
||||||
|
- FlipperKit/FlipperKitLayoutIOSDescriptors (0.125.0):
|
||||||
|
- FlipperKit/Core
|
||||||
|
- FlipperKit/FlipperKitHighlightOverlay
|
||||||
|
- FlipperKit/FlipperKitLayoutHelpers
|
||||||
|
- YogaKit (~> 1.18)
|
||||||
|
- FlipperKit/FlipperKitLayoutPlugin (0.125.0):
|
||||||
|
- FlipperKit/Core
|
||||||
|
- FlipperKit/FlipperKitHighlightOverlay
|
||||||
|
- FlipperKit/FlipperKitLayoutHelpers
|
||||||
|
- FlipperKit/FlipperKitLayoutIOSDescriptors
|
||||||
|
- FlipperKit/FlipperKitLayoutTextSearchable
|
||||||
|
- YogaKit (~> 1.18)
|
||||||
|
- FlipperKit/FlipperKitLayoutTextSearchable (0.125.0)
|
||||||
|
- FlipperKit/FlipperKitNetworkPlugin (0.125.0):
|
||||||
|
- FlipperKit/Core
|
||||||
|
- FlipperKit/FlipperKitReactPlugin (0.125.0):
|
||||||
|
- FlipperKit/Core
|
||||||
|
- FlipperKit/FlipperKitUserDefaultsPlugin (0.125.0):
|
||||||
|
- FlipperKit/Core
|
||||||
|
- FlipperKit/SKIOSNetworkPlugin (0.125.0):
|
||||||
|
- FlipperKit/Core
|
||||||
|
- FlipperKit/FlipperKitNetworkPlugin
|
||||||
- fmt (6.2.1)
|
- fmt (6.2.1)
|
||||||
- glog (0.3.5)
|
- glog (0.3.5)
|
||||||
|
- libevent (2.1.12)
|
||||||
|
- OpenSSL-Universal (1.1.1100)
|
||||||
- RCT-Folly (2021.06.28.00-v2):
|
- RCT-Folly (2021.06.28.00-v2):
|
||||||
- boost
|
- boost
|
||||||
- DoubleConversion
|
- DoubleConversion
|
||||||
@@ -27,276 +94,362 @@ PODS:
|
|||||||
- DoubleConversion
|
- DoubleConversion
|
||||||
- fmt (~> 6.2.1)
|
- fmt (~> 6.2.1)
|
||||||
- glog
|
- glog
|
||||||
- RCTRequired (0.67.2)
|
- RCTRequired (0.69.4)
|
||||||
- RCTTypeSafety (0.67.2):
|
- RCTTypeSafety (0.69.4):
|
||||||
- FBLazyVector (= 0.67.2)
|
- FBLazyVector (= 0.69.4)
|
||||||
|
- RCTRequired (= 0.69.4)
|
||||||
|
- React-Core (= 0.69.4)
|
||||||
|
- React (0.69.4):
|
||||||
|
- React-Core (= 0.69.4)
|
||||||
|
- React-Core/DevSupport (= 0.69.4)
|
||||||
|
- React-Core/RCTWebSocket (= 0.69.4)
|
||||||
|
- React-RCTActionSheet (= 0.69.4)
|
||||||
|
- React-RCTAnimation (= 0.69.4)
|
||||||
|
- React-RCTBlob (= 0.69.4)
|
||||||
|
- React-RCTImage (= 0.69.4)
|
||||||
|
- React-RCTLinking (= 0.69.4)
|
||||||
|
- React-RCTNetwork (= 0.69.4)
|
||||||
|
- React-RCTSettings (= 0.69.4)
|
||||||
|
- React-RCTText (= 0.69.4)
|
||||||
|
- React-RCTVibration (= 0.69.4)
|
||||||
|
- React-bridging (0.69.4):
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- RCTRequired (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-Core (= 0.67.2)
|
- React-callinvoker (0.69.4)
|
||||||
- React (0.67.2):
|
- React-Codegen (0.69.4):
|
||||||
- React-Core (= 0.67.2)
|
- FBReactNativeSpec (= 0.69.4)
|
||||||
- React-Core/DevSupport (= 0.67.2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/RCTWebSocket (= 0.67.2)
|
- RCTRequired (= 0.69.4)
|
||||||
- React-RCTActionSheet (= 0.67.2)
|
- RCTTypeSafety (= 0.69.4)
|
||||||
- React-RCTAnimation (= 0.67.2)
|
- React-Core (= 0.69.4)
|
||||||
- React-RCTBlob (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-RCTImage (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-RCTLinking (= 0.67.2)
|
- ReactCommon/turbomodule/core (= 0.69.4)
|
||||||
- React-RCTNetwork (= 0.67.2)
|
- React-Core (0.69.4):
|
||||||
- React-RCTSettings (= 0.67.2)
|
|
||||||
- React-RCTText (= 0.67.2)
|
|
||||||
- React-RCTVibration (= 0.67.2)
|
|
||||||
- React-callinvoker (0.67.2)
|
|
||||||
- React-Core (0.67.2):
|
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default (= 0.67.2)
|
- React-Core/Default (= 0.69.4)
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/CoreModulesHeaders (0.67.2):
|
- React-Core/CoreModulesHeaders (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default
|
- React-Core/Default
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/Default (0.67.2):
|
- React-Core/Default (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/DevSupport (0.67.2):
|
- React-Core/DevSupport (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default (= 0.67.2)
|
- React-Core/Default (= 0.69.4)
|
||||||
- React-Core/RCTWebSocket (= 0.67.2)
|
- React-Core/RCTWebSocket (= 0.69.4)
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-jsinspector (= 0.67.2)
|
- React-jsinspector (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/RCTActionSheetHeaders (0.67.2):
|
- React-Core/RCTActionSheetHeaders (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default
|
- React-Core/Default
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/RCTAnimationHeaders (0.67.2):
|
- React-Core/RCTAnimationHeaders (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default
|
- React-Core/Default
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/RCTBlobHeaders (0.67.2):
|
- React-Core/RCTBlobHeaders (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default
|
- React-Core/Default
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/RCTImageHeaders (0.67.2):
|
- React-Core/RCTImageHeaders (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default
|
- React-Core/Default
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/RCTLinkingHeaders (0.67.2):
|
- React-Core/RCTLinkingHeaders (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default
|
- React-Core/Default
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/RCTNetworkHeaders (0.67.2):
|
- React-Core/RCTNetworkHeaders (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default
|
- React-Core/Default
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/RCTSettingsHeaders (0.67.2):
|
- React-Core/RCTSettingsHeaders (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default
|
- React-Core/Default
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/RCTTextHeaders (0.67.2):
|
- React-Core/RCTTextHeaders (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default
|
- React-Core/Default
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/RCTVibrationHeaders (0.67.2):
|
- React-Core/RCTVibrationHeaders (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default
|
- React-Core/Default
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-Core/RCTWebSocket (0.67.2):
|
- React-Core/RCTWebSocket (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/Default (= 0.67.2)
|
- React-Core/Default (= 0.69.4)
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsiexecutor (= 0.67.2)
|
- React-jsiexecutor (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- Yoga
|
- Yoga
|
||||||
- React-CoreModules (0.67.2):
|
- React-CoreModules (0.69.4):
|
||||||
- FBReactNativeSpec (= 0.67.2)
|
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- RCTTypeSafety (= 0.67.2)
|
- RCTTypeSafety (= 0.69.4)
|
||||||
- React-Core/CoreModulesHeaders (= 0.67.2)
|
- React-Codegen (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-Core/CoreModulesHeaders (= 0.69.4)
|
||||||
- React-RCTImage (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- ReactCommon/turbomodule/core (= 0.67.2)
|
- React-RCTImage (= 0.69.4)
|
||||||
- React-cxxreact (0.67.2):
|
- ReactCommon/turbomodule/core (= 0.69.4)
|
||||||
|
- React-cxxreact (0.69.4):
|
||||||
- boost (= 1.76.0)
|
- boost (= 1.76.0)
|
||||||
- DoubleConversion
|
- DoubleConversion
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-callinvoker (= 0.67.2)
|
- React-callinvoker (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-jsinspector (= 0.67.2)
|
- React-jsinspector (= 0.69.4)
|
||||||
- React-logger (= 0.67.2)
|
- React-logger (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- React-runtimeexecutor (= 0.67.2)
|
- React-runtimeexecutor (= 0.69.4)
|
||||||
- React-jsi (0.67.2):
|
- React-jsi (0.69.4):
|
||||||
- boost (= 1.76.0)
|
- boost (= 1.76.0)
|
||||||
- DoubleConversion
|
- DoubleConversion
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-jsi/Default (= 0.67.2)
|
- React-jsi/Default (= 0.69.4)
|
||||||
- React-jsi/Default (0.67.2):
|
- React-jsi/Default (0.69.4):
|
||||||
- boost (= 1.76.0)
|
- boost (= 1.76.0)
|
||||||
- DoubleConversion
|
- DoubleConversion
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-jsiexecutor (0.67.2):
|
- React-jsiexecutor (0.69.4):
|
||||||
- DoubleConversion
|
- DoubleConversion
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-perflogger (= 0.69.4)
|
||||||
- React-jsinspector (0.67.2)
|
- React-jsinspector (0.69.4)
|
||||||
- React-logger (0.67.2):
|
- React-logger (0.69.4):
|
||||||
- glog
|
- glog
|
||||||
- react-native-webview (11.17.2):
|
- react-native-safe-area-context (4.3.3):
|
||||||
|
- RCT-Folly
|
||||||
|
- RCTRequired
|
||||||
|
- RCTTypeSafety
|
||||||
- React-Core
|
- React-Core
|
||||||
- React-perflogger (0.67.2)
|
- ReactCommon/turbomodule/core
|
||||||
- React-RCTActionSheet (0.67.2):
|
- react-native-webview (11.23.0):
|
||||||
- React-Core/RCTActionSheetHeaders (= 0.67.2)
|
- React-Core
|
||||||
- React-RCTAnimation (0.67.2):
|
- React-perflogger (0.69.4)
|
||||||
- FBReactNativeSpec (= 0.67.2)
|
- React-RCTActionSheet (0.69.4):
|
||||||
|
- React-Core/RCTActionSheetHeaders (= 0.69.4)
|
||||||
|
- React-RCTAnimation (0.69.4):
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- RCTTypeSafety (= 0.67.2)
|
- RCTTypeSafety (= 0.69.4)
|
||||||
- React-Core/RCTAnimationHeaders (= 0.67.2)
|
- React-Codegen (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-Core/RCTAnimationHeaders (= 0.69.4)
|
||||||
- ReactCommon/turbomodule/core (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-RCTBlob (0.67.2):
|
- ReactCommon/turbomodule/core (= 0.69.4)
|
||||||
- FBReactNativeSpec (= 0.67.2)
|
- React-RCTBlob (0.69.4):
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/RCTBlobHeaders (= 0.67.2)
|
- React-Codegen (= 0.69.4)
|
||||||
- React-Core/RCTWebSocket (= 0.67.2)
|
- React-Core/RCTBlobHeaders (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-Core/RCTWebSocket (= 0.69.4)
|
||||||
- React-RCTNetwork (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- ReactCommon/turbomodule/core (= 0.67.2)
|
- React-RCTNetwork (= 0.69.4)
|
||||||
- React-RCTImage (0.67.2):
|
- ReactCommon/turbomodule/core (= 0.69.4)
|
||||||
- FBReactNativeSpec (= 0.67.2)
|
- React-RCTImage (0.69.4):
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- RCTTypeSafety (= 0.67.2)
|
- RCTTypeSafety (= 0.69.4)
|
||||||
- React-Core/RCTImageHeaders (= 0.67.2)
|
- React-Codegen (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-Core/RCTImageHeaders (= 0.69.4)
|
||||||
- React-RCTNetwork (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- ReactCommon/turbomodule/core (= 0.67.2)
|
- React-RCTNetwork (= 0.69.4)
|
||||||
- React-RCTLinking (0.67.2):
|
- ReactCommon/turbomodule/core (= 0.69.4)
|
||||||
- FBReactNativeSpec (= 0.67.2)
|
- React-RCTLinking (0.69.4):
|
||||||
- React-Core/RCTLinkingHeaders (= 0.67.2)
|
- React-Codegen (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-Core/RCTLinkingHeaders (= 0.69.4)
|
||||||
- ReactCommon/turbomodule/core (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-RCTNetwork (0.67.2):
|
- ReactCommon/turbomodule/core (= 0.69.4)
|
||||||
- FBReactNativeSpec (= 0.67.2)
|
- React-RCTNetwork (0.69.4):
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- RCTTypeSafety (= 0.67.2)
|
- RCTTypeSafety (= 0.69.4)
|
||||||
- React-Core/RCTNetworkHeaders (= 0.67.2)
|
- React-Codegen (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-Core/RCTNetworkHeaders (= 0.69.4)
|
||||||
- ReactCommon/turbomodule/core (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-RCTSettings (0.67.2):
|
- ReactCommon/turbomodule/core (= 0.69.4)
|
||||||
- FBReactNativeSpec (= 0.67.2)
|
- React-RCTSettings (0.69.4):
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- RCTTypeSafety (= 0.67.2)
|
- RCTTypeSafety (= 0.69.4)
|
||||||
- React-Core/RCTSettingsHeaders (= 0.67.2)
|
- React-Codegen (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-Core/RCTSettingsHeaders (= 0.69.4)
|
||||||
- ReactCommon/turbomodule/core (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-RCTText (0.67.2):
|
- ReactCommon/turbomodule/core (= 0.69.4)
|
||||||
- React-Core/RCTTextHeaders (= 0.67.2)
|
- React-RCTText (0.69.4):
|
||||||
- React-RCTVibration (0.67.2):
|
- React-Core/RCTTextHeaders (= 0.69.4)
|
||||||
- FBReactNativeSpec (= 0.67.2)
|
- React-RCTVibration (0.69.4):
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-Core/RCTVibrationHeaders (= 0.67.2)
|
- React-Codegen (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-Core/RCTVibrationHeaders (= 0.69.4)
|
||||||
- ReactCommon/turbomodule/core (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-runtimeexecutor (0.67.2):
|
- ReactCommon/turbomodule/core (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-runtimeexecutor (0.69.4):
|
||||||
- ReactCommon/turbomodule/core (0.67.2):
|
- React-jsi (= 0.69.4)
|
||||||
|
- ReactCommon/turbomodule/core (0.69.4):
|
||||||
- DoubleConversion
|
- DoubleConversion
|
||||||
- glog
|
- glog
|
||||||
- RCT-Folly (= 2021.06.28.00-v2)
|
- RCT-Folly (= 2021.06.28.00-v2)
|
||||||
- React-callinvoker (= 0.67.2)
|
- React-bridging (= 0.69.4)
|
||||||
- React-Core (= 0.67.2)
|
- React-callinvoker (= 0.69.4)
|
||||||
- React-cxxreact (= 0.67.2)
|
- React-Core (= 0.69.4)
|
||||||
- React-jsi (= 0.67.2)
|
- React-cxxreact (= 0.69.4)
|
||||||
- React-logger (= 0.67.2)
|
- React-jsi (= 0.69.4)
|
||||||
- React-perflogger (= 0.67.2)
|
- React-logger (= 0.69.4)
|
||||||
- WebRTC-lib (96.0.0)
|
- React-perflogger (= 0.69.4)
|
||||||
|
- RNCAsyncStorage (1.17.9):
|
||||||
|
- React-Core
|
||||||
|
- RNDeviceInfo (10.3.0):
|
||||||
|
- React-Core
|
||||||
|
- RNGestureHandler (2.5.0):
|
||||||
|
- React-Core
|
||||||
|
- RNLanguages (3.0.2):
|
||||||
|
- React
|
||||||
|
- RNReanimated (2.10.0):
|
||||||
|
- DoubleConversion
|
||||||
|
- FBLazyVector
|
||||||
|
- FBReactNativeSpec
|
||||||
|
- glog
|
||||||
|
- RCT-Folly
|
||||||
|
- RCTRequired
|
||||||
|
- RCTTypeSafety
|
||||||
|
- React-callinvoker
|
||||||
|
- React-Core
|
||||||
|
- React-Core/DevSupport
|
||||||
|
- React-Core/RCTWebSocket
|
||||||
|
- React-CoreModules
|
||||||
|
- React-cxxreact
|
||||||
|
- React-jsi
|
||||||
|
- React-jsiexecutor
|
||||||
|
- React-jsinspector
|
||||||
|
- React-RCTActionSheet
|
||||||
|
- React-RCTAnimation
|
||||||
|
- React-RCTBlob
|
||||||
|
- React-RCTImage
|
||||||
|
- React-RCTLinking
|
||||||
|
- React-RCTNetwork
|
||||||
|
- React-RCTSettings
|
||||||
|
- React-RCTText
|
||||||
|
- ReactCommon/turbomodule/core
|
||||||
|
- Yoga
|
||||||
|
- RNScreens (3.16.0):
|
||||||
|
- React-Core
|
||||||
|
- React-RCTImage
|
||||||
|
- RNVectorIcons (9.2.0):
|
||||||
|
- React-Core
|
||||||
|
- SocketRocket (0.6.0)
|
||||||
|
- WebRTC-lib (104.0.0)
|
||||||
- Yoga (1.14.0)
|
- Yoga (1.14.0)
|
||||||
|
- YogaKit (1.18.1):
|
||||||
|
- Yoga (~> 1.14)
|
||||||
|
|
||||||
DEPENDENCIES:
|
DEPENDENCIES:
|
||||||
- bigbluebutton-mobile-sdk (from `../node_modules/bigbluebutton-mobile-sdk`)
|
- bigbluebutton-tablet-sdk (from `../node_modules/bigbluebutton-tablet-sdk`)
|
||||||
- bigbluebutton-mobile-sdk-common (from `../node_modules/bigbluebutton-mobile-sdk/common`)
|
- bigbluebutton-tablet-sdk-broadcast-upload-extension (from `../node_modules/bigbluebutton-tablet-sdk/ios-broadcast-upload-extension`)
|
||||||
|
- bigbluebutton-tablet-sdk-common (from `../node_modules/bigbluebutton-tablet-sdk/ios-common`)
|
||||||
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
|
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
|
||||||
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
|
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
|
||||||
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
|
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
|
||||||
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
|
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
|
||||||
|
- Flipper (= 0.125.0)
|
||||||
|
- Flipper-Boost-iOSX (= 1.76.0.1.11)
|
||||||
|
- Flipper-DoubleConversion (= 3.2.0.1)
|
||||||
|
- Flipper-Fmt (= 7.1.7)
|
||||||
|
- Flipper-Folly (= 2.6.10)
|
||||||
|
- Flipper-Glog (= 0.5.0.5)
|
||||||
|
- Flipper-PeerTalk (= 0.0.4)
|
||||||
|
- Flipper-RSocket (= 1.4.3)
|
||||||
|
- FlipperKit (= 0.125.0)
|
||||||
|
- FlipperKit/Core (= 0.125.0)
|
||||||
|
- FlipperKit/CppBridge (= 0.125.0)
|
||||||
|
- FlipperKit/FBCxxFollyDynamicConvert (= 0.125.0)
|
||||||
|
- FlipperKit/FBDefines (= 0.125.0)
|
||||||
|
- FlipperKit/FKPortForwarding (= 0.125.0)
|
||||||
|
- FlipperKit/FlipperKitHighlightOverlay (= 0.125.0)
|
||||||
|
- FlipperKit/FlipperKitLayoutPlugin (= 0.125.0)
|
||||||
|
- FlipperKit/FlipperKitLayoutTextSearchable (= 0.125.0)
|
||||||
|
- FlipperKit/FlipperKitNetworkPlugin (= 0.125.0)
|
||||||
|
- FlipperKit/FlipperKitReactPlugin (= 0.125.0)
|
||||||
|
- FlipperKit/FlipperKitUserDefaultsPlugin (= 0.125.0)
|
||||||
|
- FlipperKit/SKIOSNetworkPlugin (= 0.125.0)
|
||||||
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
|
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
|
||||||
|
- OpenSSL-Universal (= 1.1.1100)
|
||||||
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
|
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
|
||||||
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
|
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
|
||||||
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
|
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
|
||||||
- React (from `../node_modules/react-native/`)
|
- React (from `../node_modules/react-native/`)
|
||||||
|
- React-bridging (from `../node_modules/react-native/ReactCommon`)
|
||||||
- React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`)
|
- React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`)
|
||||||
|
- React-Codegen (from `build/generated/ios`)
|
||||||
- React-Core (from `../node_modules/react-native/`)
|
- React-Core (from `../node_modules/react-native/`)
|
||||||
- React-Core/DevSupport (from `../node_modules/react-native/`)
|
- React-Core/DevSupport (from `../node_modules/react-native/`)
|
||||||
- React-Core/RCTWebSocket (from `../node_modules/react-native/`)
|
- React-Core/RCTWebSocket (from `../node_modules/react-native/`)
|
||||||
@@ -306,6 +459,7 @@ DEPENDENCIES:
|
|||||||
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
|
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
|
||||||
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
|
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
|
||||||
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
|
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
|
||||||
|
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
|
||||||
- react-native-webview (from `../node_modules/react-native-webview`)
|
- react-native-webview (from `../node_modules/react-native-webview`)
|
||||||
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
|
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
|
||||||
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
|
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
|
||||||
@@ -319,18 +473,41 @@ DEPENDENCIES:
|
|||||||
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
|
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
|
||||||
- React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`)
|
- React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`)
|
||||||
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
|
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
|
||||||
|
- "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)"
|
||||||
|
- RNDeviceInfo (from `../node_modules/react-native-device-info`)
|
||||||
|
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
|
||||||
|
- RNLanguages (from `../node_modules/react-native-languages`)
|
||||||
|
- RNReanimated (from `../node_modules/react-native-reanimated`)
|
||||||
|
- RNScreens (from `../node_modules/react-native-screens`)
|
||||||
|
- RNVectorIcons (from `../node_modules/react-native-vector-icons`)
|
||||||
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
|
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
|
||||||
|
|
||||||
SPEC REPOS:
|
SPEC REPOS:
|
||||||
trunk:
|
trunk:
|
||||||
|
- CocoaAsyncSocket
|
||||||
|
- Flipper
|
||||||
|
- Flipper-Boost-iOSX
|
||||||
|
- Flipper-DoubleConversion
|
||||||
|
- Flipper-Fmt
|
||||||
|
- Flipper-Folly
|
||||||
|
- Flipper-Glog
|
||||||
|
- Flipper-PeerTalk
|
||||||
|
- Flipper-RSocket
|
||||||
|
- FlipperKit
|
||||||
- fmt
|
- fmt
|
||||||
|
- libevent
|
||||||
|
- OpenSSL-Universal
|
||||||
|
- SocketRocket
|
||||||
- WebRTC-lib
|
- WebRTC-lib
|
||||||
|
- YogaKit
|
||||||
|
|
||||||
EXTERNAL SOURCES:
|
EXTERNAL SOURCES:
|
||||||
bigbluebutton-mobile-sdk:
|
bigbluebutton-tablet-sdk:
|
||||||
:path: "../node_modules/bigbluebutton-mobile-sdk"
|
:path: "../node_modules/bigbluebutton-tablet-sdk"
|
||||||
bigbluebutton-mobile-sdk-common:
|
bigbluebutton-tablet-sdk-broadcast-upload-extension:
|
||||||
:path: "../node_modules/bigbluebutton-mobile-sdk/common"
|
:path: "../node_modules/bigbluebutton-tablet-sdk/ios-broadcast-upload-extension"
|
||||||
|
bigbluebutton-tablet-sdk-common:
|
||||||
|
:path: "../node_modules/bigbluebutton-tablet-sdk/ios-common"
|
||||||
boost:
|
boost:
|
||||||
:podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
|
:podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
|
||||||
DoubleConversion:
|
DoubleConversion:
|
||||||
@@ -349,8 +526,12 @@ EXTERNAL SOURCES:
|
|||||||
:path: "../node_modules/react-native/Libraries/TypeSafety"
|
:path: "../node_modules/react-native/Libraries/TypeSafety"
|
||||||
React:
|
React:
|
||||||
:path: "../node_modules/react-native/"
|
:path: "../node_modules/react-native/"
|
||||||
|
React-bridging:
|
||||||
|
:path: "../node_modules/react-native/ReactCommon"
|
||||||
React-callinvoker:
|
React-callinvoker:
|
||||||
:path: "../node_modules/react-native/ReactCommon/callinvoker"
|
:path: "../node_modules/react-native/ReactCommon/callinvoker"
|
||||||
|
React-Codegen:
|
||||||
|
:path: build/generated/ios
|
||||||
React-Core:
|
React-Core:
|
||||||
:path: "../node_modules/react-native/"
|
:path: "../node_modules/react-native/"
|
||||||
React-CoreModules:
|
React-CoreModules:
|
||||||
@@ -365,6 +546,8 @@ EXTERNAL SOURCES:
|
|||||||
:path: "../node_modules/react-native/ReactCommon/jsinspector"
|
:path: "../node_modules/react-native/ReactCommon/jsinspector"
|
||||||
React-logger:
|
React-logger:
|
||||||
:path: "../node_modules/react-native/ReactCommon/logger"
|
:path: "../node_modules/react-native/ReactCommon/logger"
|
||||||
|
react-native-safe-area-context:
|
||||||
|
:path: "../node_modules/react-native-safe-area-context"
|
||||||
react-native-webview:
|
react-native-webview:
|
||||||
:path: "../node_modules/react-native-webview"
|
:path: "../node_modules/react-native-webview"
|
||||||
React-perflogger:
|
React-perflogger:
|
||||||
@@ -391,46 +574,85 @@ EXTERNAL SOURCES:
|
|||||||
:path: "../node_modules/react-native/ReactCommon/runtimeexecutor"
|
:path: "../node_modules/react-native/ReactCommon/runtimeexecutor"
|
||||||
ReactCommon:
|
ReactCommon:
|
||||||
:path: "../node_modules/react-native/ReactCommon"
|
:path: "../node_modules/react-native/ReactCommon"
|
||||||
|
RNCAsyncStorage:
|
||||||
|
:path: "../node_modules/@react-native-async-storage/async-storage"
|
||||||
|
RNDeviceInfo:
|
||||||
|
:path: "../node_modules/react-native-device-info"
|
||||||
|
RNGestureHandler:
|
||||||
|
:path: "../node_modules/react-native-gesture-handler"
|
||||||
|
RNLanguages:
|
||||||
|
:path: "../node_modules/react-native-languages"
|
||||||
|
RNReanimated:
|
||||||
|
:path: "../node_modules/react-native-reanimated"
|
||||||
|
RNScreens:
|
||||||
|
:path: "../node_modules/react-native-screens"
|
||||||
|
RNVectorIcons:
|
||||||
|
:path: "../node_modules/react-native-vector-icons"
|
||||||
Yoga:
|
Yoga:
|
||||||
:path: "../node_modules/react-native/ReactCommon/yoga"
|
:path: "../node_modules/react-native/ReactCommon/yoga"
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
bigbluebutton-mobile-sdk: 19663f45d1ad1aa508dcd602c98454d4a268d6bc
|
bigbluebutton-tablet-sdk: e48e7ea85581182a53cb568ae4da4a5003d406ce
|
||||||
bigbluebutton-mobile-sdk-common: a19235b74cfb9ba83f83e23afbae7c8c400c2a5c
|
bigbluebutton-tablet-sdk-broadcast-upload-extension: fd51015a4d172b44a3e4ccdd1ae22bf809660f30
|
||||||
|
bigbluebutton-tablet-sdk-common: 2e0b7452ca5e92722ee603601de9c2f4c9139e2b
|
||||||
boost: a7c83b31436843459a1961bfd74b96033dc77234
|
boost: a7c83b31436843459a1961bfd74b96033dc77234
|
||||||
DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662
|
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
|
||||||
FBLazyVector: 244195e30d63d7f564c55da4410b9a24e8fbceaa
|
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
|
||||||
FBReactNativeSpec: c94002c1d93da3658f4d5119c6994d19961e3d52
|
FBLazyVector: c71b8c429a8af2aff1013934a7152e9d9d0c937d
|
||||||
|
FBReactNativeSpec: cb0df4f0084281b394f76bb9b4d1d9540f35963f
|
||||||
|
Flipper: 26fc4b7382499f1281eb8cb921e5c3ad6de91fe0
|
||||||
|
Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c
|
||||||
|
Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30
|
||||||
|
Flipper-Fmt: 60cbdd92fc254826e61d669a5d87ef7015396a9b
|
||||||
|
Flipper-Folly: 584845625005ff068a6ebf41f857f468decd26b3
|
||||||
|
Flipper-Glog: 70c50ce58ddaf67dc35180db05f191692570f446
|
||||||
|
Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
|
||||||
|
Flipper-RSocket: d9d9ade67cbecf6ac10730304bf5607266dd2541
|
||||||
|
FlipperKit: cbdee19bdd4e7f05472a66ce290f1b729ba3cb86
|
||||||
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
|
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
|
||||||
glog: 85ecdd10ee8d8ec362ef519a6a45ff9aa27b2e85
|
glog: 3d02b25ca00c2d456734d0bcff864cbc62f6ae1a
|
||||||
RCT-Folly: 803a9cfd78114b2ec0f140cfa6fa2a6bafb2d685
|
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
|
||||||
RCTRequired: cd47794163052d2b8318c891a7a14fcfaccc75ab
|
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
|
||||||
RCTTypeSafety: 393bb40b3e357b224cde53d3fec26813c52428b1
|
RCT-Folly: b9d9fe1fc70114b751c076104e52f3b1b5e5a95a
|
||||||
React: dec6476bc27155b250eeadfc11ea779265f53ebf
|
RCTRequired: bd9d2ab0fda10171fcbcf9ba61a7df4dc15a28f4
|
||||||
React-callinvoker: e5047929e80aea942e6fdd96482504ef0189ca63
|
RCTTypeSafety: e44e139bf6ec8042db396201834fc2372f6a21cd
|
||||||
React-Core: e382655566b2b9a6e3b4f641d777b7bfdbe52358
|
React: 482cd1ba23c471be1aed3800180be2427418d7be
|
||||||
React-CoreModules: cf262e82fa101c0aee022b6f90d1a5b612038b64
|
React-bridging: c2ea4fed6fe4ed27c12fd71e88b5d5d3da107fde
|
||||||
React-cxxreact: 69d53de3b30c7c161ba087ca1ecdffed9ccb1039
|
React-callinvoker: d4d1f98163fb5e35545e910415ef6c04796bb188
|
||||||
React-jsi: ce9a2d804adf75809ce2fe2374ba3fbbf5d59b03
|
React-Codegen: ff35fb9c7f6ec2ed34fb6de2e1099d88dfb25f2f
|
||||||
React-jsiexecutor: 52beb652bbc61201bd70cbe4f0b8edb607e8da4f
|
React-Core: 4d3443a45b67c71d74d7243ddde9569d1e4f4fad
|
||||||
React-jsinspector: 595f76eba2176ebd8817a1fffd47b84fbdab9383
|
React-CoreModules: 70be25399366b5632ab18ecf6fe444a8165a7bea
|
||||||
React-logger: 23de8ea0f44fa00ee77e96060273225607fd4d78
|
React-cxxreact: 822d3794fc0bf206f4691592f90e086dd4f92228
|
||||||
react-native-webview: 380c1a03ec94b7ed764dac8db1e7c9952d08c93a
|
React-jsi: ffa51cbc9a78cc156cf61f79ed52ecb76dc6013b
|
||||||
React-perflogger: 3c9bb7372493e49036f07a82c44c8cf65cbe88db
|
React-jsiexecutor: a27badbbdbc0ff781813370736a2d1c7261181d4
|
||||||
React-RCTActionSheet: 052606483045a408693aa7e864410b4a052f541a
|
React-jsinspector: 8a3d3f5dcd23a91e8c80b1bf0e96902cd1dca999
|
||||||
React-RCTAnimation: 08d4cac13222bb1348c687a0158dfd3b577cdb63
|
React-logger: 1088859f145b8f6dd0d3ed051a647ef0e3e80fad
|
||||||
React-RCTBlob: 928ad1df65219c3d9e2ac80983b943a75b5c3629
|
react-native-safe-area-context: b456e1c40ec86f5593d58b275bd0e9603169daca
|
||||||
React-RCTImage: 524d7313b142a39ee0e20fa312b67277917fe076
|
react-native-webview: e771bc375f789ebfa02a26939a57dbc6fa897336
|
||||||
React-RCTLinking: 44036ea6f13a2e46238be07a67566247fee35244
|
React-perflogger: cb386fd44c97ec7f8199c04c12b22066b0f2e1e0
|
||||||
React-RCTNetwork: 9b6faacf1e0789253e319ca53b1f8d92c2ac5455
|
React-RCTActionSheet: f803a85e46cf5b4066c2ac5e122447f918e9c6e5
|
||||||
React-RCTSettings: ecd8094f831130a49581d5112a8607220e5d12a5
|
React-RCTAnimation: 19c80fa950ccce7f4db76a2a7f2cf79baae07fc7
|
||||||
React-RCTText: 14ba976fb48ed283cfdb1a754a5d4276471e0152
|
React-RCTBlob: f36ab97e2d515c36df14a1571e50056be80413d5
|
||||||
React-RCTVibration: 99c7f67fba7a5ade46e98e870c6ff2444484f995
|
React-RCTImage: 2c8f0a329a116248e82f8972ffe806e47c6d1cfa
|
||||||
React-runtimeexecutor: 2450b43df7ffe8e805a0b3dcb2abd4282f1f1836
|
React-RCTLinking: 670f0223075aff33be3b89714f1da4f5343fc4af
|
||||||
ReactCommon: d98c6c96b567f9b3a15f9fd4cc302c1eda8e3cf2
|
React-RCTNetwork: 09385b73f4ff1f46bd5d749540fb33f69a7e5908
|
||||||
WebRTC-lib: 508fe02efa0c1a3a8867082a77d24c9be5d29aeb
|
React-RCTSettings: 33b12d3ac7a1f2eba069ec7bd1b84345263b3bbe
|
||||||
Yoga: 9b6696970c3289e8dea34b3eda93f23e61fb8121
|
React-RCTText: a1a3ea902403bd9ae4cf6f7960551dc1d25711b5
|
||||||
|
React-RCTVibration: 9adb4a3cbb598d1bbd46a05256f445e4b8c70603
|
||||||
|
React-runtimeexecutor: 61ee22a8cdf8b6bb2a7fb7b4ba2cc763e5285196
|
||||||
|
ReactCommon: 8f67bd7e0a6afade0f20718f859dc8c2275f2e83
|
||||||
|
RNCAsyncStorage: b2489b49e38c85e10ed45a888d13a2a4c7b32ea1
|
||||||
|
RNDeviceInfo: 4701f0bf2a06b34654745053db0ce4cb0c53ada7
|
||||||
|
RNGestureHandler: bad495418bcbd3ab47017a38d93d290ebd406f50
|
||||||
|
RNLanguages: 962e562af0d34ab1958d89bcfdb64fafc37c513e
|
||||||
|
RNReanimated: 7faa787e8d4493fbc95fab2ad331fa7625828cfa
|
||||||
|
RNScreens: ee31ecdf23fe81e93c74feaa086cf173d758ab58
|
||||||
|
RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8
|
||||||
|
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
|
||||||
|
WebRTC-lib: 6c387d63a8d649e8171f548a67b740127cc299b3
|
||||||
|
Yoga: ff994563b2fd98c982ca58e8cd9db2cdaf4dda74
|
||||||
|
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
|
||||||
|
|
||||||
PODFILE CHECKSUM: e211f2ecd01f51058301ee830bb11c08f658741b
|
PODFILE CHECKSUM: 60c0727fe96eefac3de04d7ac4413254c1f48c34
|
||||||
|
|
||||||
COCOAPODS: 1.11.2
|
COCOAPODS: 1.11.3
|
||||||
|
|||||||
19
ios/ci_scripts/ci_post_clone.sh
Executable file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
|
||||||
|
brew install cocoapods
|
||||||
|
# have to add node yourself
|
||||||
|
brew install node@16
|
||||||
|
# link it to the path
|
||||||
|
brew link node@16
|
||||||
|
|
||||||
|
brew install yarn
|
||||||
|
|
||||||
|
# Install dependencies you manage with CocoaPods.
|
||||||
|
yarn
|
||||||
|
pod install
|
||||||
|
# the sed command from RN cant find the file... so we have to run it ourselves
|
||||||
|
sed -i -e $'s/ && (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_0)//' /Volumes/workspace/repository/ios/Pods/RCT-Folly/folly/portability/Time.h
|
||||||
|
|
||||||
|
# Source: https://zach.codes/xcode-cloud-react-native-setup/#rn-664-update
|
||||||
|
|
||||||
47
package.json
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "bigbluebutton",
|
"name": "BigBlueButtonTablet",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -10,30 +10,47 @@
|
|||||||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bigbluebutton-mobile-sdk": "^0.1.6",
|
"@react-native-async-storage/async-storage": "^1.17.9",
|
||||||
"react": "17.0.2",
|
"@react-navigation/drawer": "^6.4.3",
|
||||||
"react-native": "0.67.2",
|
"@react-navigation/native": "^6.0.11",
|
||||||
"react-native-webview": "^11.17.2"
|
"@react-navigation/native-stack": "^6.7.0",
|
||||||
|
"@types/i18next": "^13.0.0",
|
||||||
|
"@types/react-native-vector-icons": "^6.4.11",
|
||||||
|
"@types/styled-components": "^5.1.26",
|
||||||
|
"@types/styled-components-react-native": "^5.1.3",
|
||||||
|
"bigbluebutton-tablet-sdk": "^0.1.35",
|
||||||
|
"i18next": "^21.9.1",
|
||||||
|
"react": "18.0.0",
|
||||||
|
"react-native": "0.69.4",
|
||||||
|
"react-native-device-info": "^10.3.0",
|
||||||
|
"react-native-gesture-handler": "^2.5.0",
|
||||||
|
"react-native-languages": "^3.0.2",
|
||||||
|
"react-native-modalize": "^2.1.1",
|
||||||
|
"react-native-reanimated": "^2.10.0",
|
||||||
|
"react-native-safe-area-context": "^4.3.3",
|
||||||
|
"react-native-screens": "^3.16.0",
|
||||||
|
"react-native-swipe-list-view": "^3.2.9",
|
||||||
|
"react-native-vector-icons": "^9.2.0",
|
||||||
|
"react-native-webview": "^11.23.0",
|
||||||
|
"styled-components": "^5.3.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.12.9",
|
"@babel/core": "^7.12.9",
|
||||||
"@babel/runtime": "^7.12.5",
|
"@babel/runtime": "^7.12.5",
|
||||||
"@react-native-community/eslint-config": "^2.0.0",
|
"@react-native-community/eslint-config": "^2.0.0",
|
||||||
|
"@tsconfig/react-native": "^2.0.2",
|
||||||
"@types/jest": "^26.0.23",
|
"@types/jest": "^26.0.23",
|
||||||
"@types/react-native": "^0.66.15",
|
"@types/react-native": "^0.69.3",
|
||||||
"@types/react-test-renderer": "^17.0.1",
|
"@types/react-test-renderer": "^18.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.7.0",
|
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
||||||
"@typescript-eslint/parser": "^5.7.0",
|
"@typescript-eslint/parser": "^5.29.0",
|
||||||
"babel-jest": "^26.6.3",
|
"babel-jest": "^26.6.3",
|
||||||
"eslint": "^7.14.0",
|
"eslint": "^7.32.0",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"metro-react-native-babel-preset": "^0.66.2",
|
"metro-react-native-babel-preset": "^0.70.3",
|
||||||
"react-test-renderer": "17.0.2",
|
"react-test-renderer": "18.0.0",
|
||||||
"typescript": "^4.4.4"
|
"typescript": "^4.4.4"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
|
||||||
"@types/react": "^17"
|
|
||||||
},
|
|
||||||
"jest": {
|
"jest": {
|
||||||
"preset": "react-native",
|
"preset": "react-native",
|
||||||
"moduleFileExtensions": [
|
"moduleFileExtensions": [
|
||||||
|
|||||||
16
react-native/app/components/button/component.tsx
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import {ButtonAppStyle, TextButton} from './styles';
|
||||||
|
|
||||||
|
type IButtonApp = {
|
||||||
|
children?: object;
|
||||||
|
onPress?: Function;
|
||||||
|
};
|
||||||
|
export const ButtonApp = ({children, onPress}: IButtonApp) => {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ButtonAppStyle onPress={onPress}>
|
||||||
|
<TextButton>{children}</TextButton>
|
||||||
|
</ButtonAppStyle>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
};
|
||||||
17
react-native/app/components/button/styles.ts
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
import styled from 'styled-components/native';
|
||||||
|
import {colors} from '../../styles/colors';
|
||||||
|
|
||||||
|
export const ButtonAppStyle = styled.TouchableHighlight`
|
||||||
|
height: 50px;
|
||||||
|
font-size: 22px;
|
||||||
|
background-color: ${colors.primary_light};
|
||||||
|
border-radius: 5px;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
`;
|
||||||
|
|
||||||
|
export const TextButton = styled.Text`
|
||||||
|
font-size: 22px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #fff;
|
||||||
|
`;
|
||||||
42
react-native/app/components/input/text/component.tsx
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import {LabelInput, WrapperInputText} from './styles';
|
||||||
|
|
||||||
|
type IInputText = {
|
||||||
|
children?: object;
|
||||||
|
placeholder: string;
|
||||||
|
label: string;
|
||||||
|
onChangeText?: any;
|
||||||
|
value?: any;
|
||||||
|
autoCapitalize?: 'none';
|
||||||
|
autoCorrect?: false | true;
|
||||||
|
autoComplete?: 'off';
|
||||||
|
allowFontScaling?: true | false;
|
||||||
|
};
|
||||||
|
export const InputText = (props: IInputText) => {
|
||||||
|
const {
|
||||||
|
children,
|
||||||
|
placeholder,
|
||||||
|
label,
|
||||||
|
onChangeText,
|
||||||
|
value,
|
||||||
|
autoCapitalize,
|
||||||
|
autoCorrect,
|
||||||
|
autoComplete,
|
||||||
|
allowFontScaling,
|
||||||
|
} = props;
|
||||||
|
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<LabelInput>{label}</LabelInput>
|
||||||
|
<WrapperInputText
|
||||||
|
allowFontScaling={allowFontScaling}
|
||||||
|
autoComplete={autoComplete}
|
||||||
|
autoCorrect={autoCorrect}
|
||||||
|
autoCapitalize={autoCapitalize}
|
||||||
|
value={value}
|
||||||
|
onChangeText={onChangeText}
|
||||||
|
placeholder={placeholder}
|
||||||
|
/>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
};
|
||||||
16
react-native/app/components/input/text/styles.ts
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
import styled from 'styled-components/native';
|
||||||
|
|
||||||
|
|
||||||
|
export const WrapperInputText = styled.TextInput`
|
||||||
|
background-color: #f2f2f2;
|
||||||
|
padding: 10px 20px 10px 20px;
|
||||||
|
border-radius: 5px
|
||||||
|
|
||||||
|
`
|
||||||
|
|
||||||
|
export const LabelInput = styled.Text`
|
||||||
|
color: #fff;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
`
|
||||||
19
react-native/app/contexts/portals/container.tsx
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import { PortalContext } from './context'
|
||||||
|
type IPortalContext = {
|
||||||
|
portals?: any
|
||||||
|
setPortals?: any
|
||||||
|
}
|
||||||
|
|
||||||
|
export const PortalContextContainer = ({children}: any)=>{
|
||||||
|
const [portals, setPortals] = React.useState(0)
|
||||||
|
const portalHook: IPortalContext = {portals, setPortals}
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<PortalContext.Provider value={portalHook}>
|
||||||
|
{children}
|
||||||
|
</PortalContext.Provider>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
|
||||||
|
}
|
||||||
2
react-native/app/contexts/portals/context.ts
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
import React, { createContext } from 'react'
|
||||||
|
export const PortalContext = createContext(false);
|
||||||
11
react-native/app/contexts/portals/hook.ts
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
import React, { useContext } from 'react'
|
||||||
|
import { PortalContext } from './context';
|
||||||
|
type IPortalContext = {
|
||||||
|
portals?: any
|
||||||
|
setPortals?: any
|
||||||
|
}
|
||||||
|
|
||||||
|
export const usePortal = (): IPortalContext=>{
|
||||||
|
const contextOfPortals = useContext(PortalContext);
|
||||||
|
return contextOfPortals as IPortalContext;
|
||||||
|
}
|
||||||