-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02412f8
commit 2a0a57b
Showing
25 changed files
with
2,943 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
"""Helper definitions to glob .aar and .jar targets""" | ||
|
||
def create_aar_targets(aarfiles): | ||
for aarfile in aarfiles: | ||
name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] | ||
lib_deps.append(":" + name) | ||
android_prebuilt_aar( | ||
name = name, | ||
aar = aarfile, | ||
) | ||
|
||
def create_jar_targets(jarfiles): | ||
for jarfile in jarfiles: | ||
name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")] | ||
lib_deps.append(":" + name) | ||
prebuilt_jar( | ||
name = name, | ||
binary_jar = jarfile, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
rootProject.name = 'simpleDemo' | ||
include ':react-native-agora' | ||
project(':react-native-agora').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-agora/android') | ||
|
||
include ':app' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: ["module:metro-react-native-babel-preset"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,40 @@ | ||
react_native_path = '../node_modules/react-native' | ||
project 'simpleDemo.xcodeproj' | ||
|
||
# Uncomment the next line to define a global platform for your project | ||
platform :ios, '9.0' | ||
react_native_path = "../node_modules/react-native" | ||
project "simpleDemo.xcodeproj" | ||
|
||
target 'simpleDemo' do | ||
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks | ||
use_frameworks! | ||
# use_frameworks! | ||
|
||
# Pods for simpleDemo | ||
pod 'react-native-agora', path: '../node_modules/react-native-agora' | ||
pod 'React', path: react_native_path | ||
pod 'yoga', path: "#{react_native_path}/ReactCommon/yoga" | ||
%w(DoubleConversion Folly glog).each do |lib_name| | ||
pod lib_name, podspec: "#{react_native_path}/third-party-podspecs/#{lib_name}.podspec" | ||
end | ||
#pod 'AgoraRtcEngine_iOS', '2.3.3' | ||
|
||
#target 'simpleDemo-tvOSTests' do | ||
# inherit! :search_paths | ||
# # Pods for testing | ||
#end | ||
pod "react-native-agora", path: "../node_modules/react-native-agora" | ||
#pod "React", path: react_native_path | ||
#%w(DoubleConversion Folly glog).each do |lib_name| | ||
# pod lib_name, podspec: "#{react_native_path}/third-party-podspecs/#{lib_name}.podspec" | ||
#end | ||
|
||
target 'simpleDemoTests' do | ||
inherit! :search_paths | ||
# Pods for testing | ||
end | ||
|
||
end | ||
|
||
target 'simpleDemo-tvOS' do | ||
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks | ||
# use_frameworks! | ||
|
||
# Pods for simpleDemo-tvOS | ||
|
||
target 'simpleDemo-tvOSTests' do | ||
inherit! :search_paths | ||
# Pods for testing | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.