Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gl-react-native-v2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
gl-react-native-v2
Commits
f9021ce7
Commit
f9021ce7
authored
Dec 05, 2015
by
Gaëtan Renaudeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update examples
parent
ddbee1ad
Changes
34
Show whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
264 additions
and
168 deletions
+264
-168
Examples/AdvancedEffects/.flowconfig
Examples/AdvancedEffects/.flowconfig
+21
-9
Examples/AdvancedEffects/android/app/app.iml
Examples/AdvancedEffects/android/app/app.iml
+19
-16
Examples/AdvancedEffects/android/app/build.gradle
Examples/AdvancedEffects/android/app/build.gradle
+3
-2
Examples/AdvancedEffects/android/app/react.gradle
Examples/AdvancedEffects/android/app/react.gradle
+14
-2
Examples/AdvancedEffects/android/app/src/main/java/com/advancedeffects/MainActivity.java
...d/app/src/main/java/com/advancedeffects/MainActivity.java
+2
-3
Examples/AdvancedEffects/android/build.gradle
Examples/AdvancedEffects/android/build.gradle
+3
-0
Examples/AdvancedEffects/android/settings.gradle
Examples/AdvancedEffects/android/settings.gradle
+2
-2
Examples/AdvancedEffects/ios/AdvancedEffects.xcodeproj/project.pbxproj
...ncedEffects/ios/AdvancedEffects.xcodeproj/project.pbxproj
+12
-12
Examples/AdvancedEffects/ios/AdvancedEffects/AppDelegate.m
Examples/AdvancedEffects/ios/AdvancedEffects/AppDelegate.m
+1
-1
Examples/AdvancedEffects/ios/AdvancedEffectsTests/AdvancedEffectsTests.m
...edEffects/ios/AdvancedEffectsTests/AdvancedEffectsTests.m
+1
-1
Examples/AdvancedEffects/package.json
Examples/AdvancedEffects/package.json
+2
-2
Examples/AdvancedEffects/src/Slideshow.js
Examples/AdvancedEffects/src/Slideshow.js
+3
-1
Examples/Simple/.flowconfig
Examples/Simple/.flowconfig
+21
-9
Examples/Simple/android/app/app.iml
Examples/Simple/android/app/app.iml
+19
-16
Examples/Simple/android/app/build.gradle
Examples/Simple/android/app/build.gradle
+4
-3
Examples/Simple/android/app/react.gradle
Examples/Simple/android/app/react.gradle
+14
-2
Examples/Simple/android/app/src/main/java/com/simple/MainActivity.java
...le/android/app/src/main/java/com/simple/MainActivity.java
+1
-2
Examples/Simple/android/build.gradle
Examples/Simple/android/build.gradle
+3
-0
Examples/Simple/android/settings.gradle
Examples/Simple/android/settings.gradle
+4
-4
Examples/Simple/ios/Simple.xcodeproj/project.pbxproj
Examples/Simple/ios/Simple.xcodeproj/project.pbxproj
+30
-30
Examples/Simple/ios/Simple/AppDelegate.m
Examples/Simple/ios/Simple/AppDelegate.m
+1
-1
Examples/Simple/ios/SimpleTests/SimpleTests.m
Examples/Simple/ios/SimpleTests/SimpleTests.m
+1
-1
Examples/Simple/package.json
Examples/Simple/package.json
+1
-1
Examples/Tests/.flowconfig
Examples/Tests/.flowconfig
+18
-6
Examples/Tests/android/app/app.iml
Examples/Tests/android/app/app.iml
+19
-16
Examples/Tests/android/app/build.gradle
Examples/Tests/android/app/build.gradle
+3
-2
Examples/Tests/android/app/react.gradle
Examples/Tests/android/app/react.gradle
+14
-2
Examples/Tests/android/app/src/main/java/com/tests/MainActivity.java
...sts/android/app/src/main/java/com/tests/MainActivity.java
+1
-1
Examples/Tests/android/build.gradle
Examples/Tests/android/build.gradle
+3
-0
Examples/Tests/android/settings.gradle
Examples/Tests/android/settings.gradle
+2
-2
Examples/Tests/iOS/Tests.xcodeproj/project.pbxproj
Examples/Tests/iOS/Tests.xcodeproj/project.pbxproj
+12
-12
Examples/Tests/ios/TestsTests/TestsTests.m
Examples/Tests/ios/TestsTests/TestsTests.m
+1
-1
Examples/Tests/package.json
Examples/Tests/package.json
+1
-4
android/rngl.iml
android/rngl.iml
+8
-2
No files found.
Examples/AdvancedEffects/.flowconfig
View file @
f9021ce7
...
...
@@ -7,12 +7,24 @@
# Some modules have their own node_modules with overlap
.*/node_modules/node-haste/.*
# Ignore react-tools where there are overlaps, but don't ignore anything that
# react-native relies on
.*/node_modules/react-tools/src/React.js
.*/node_modules/react-tools/src/renderers/shared/event/EventPropagators.js
.*/node_modules/react-tools/src/renderers/shared/event/eventPlugins/ResponderEventPlugin.js
.*/node_modules/react-tools/src/shared/vendor/core/ExecutionEnvironment.js
# Ugh
.*/node_modules/babel.*
.*/node_modules/babylon.*
.*/node_modules/invariant.*
# Ignore react and fbjs where there are overlaps, but don't ignore
# anything that react-native relies on
.*/node_modules/fbjs-haste/.*/__tests__/.*
.*/node_modules/fbjs-haste/__forks__/Map.js
.*/node_modules/fbjs-haste/__forks__/Promise.js
.*/node_modules/fbjs-haste/__forks__/fetch.js
.*/node_modules/fbjs-haste/core/ExecutionEnvironment.js
.*/node_modules/fbjs-haste/core/isEmpty.js
.*/node_modules/fbjs-haste/crypto/crc32.js
.*/node_modules/fbjs-haste/stubs/ErrorUtils.js
.*/node_modules/react-haste/React.js
.*/node_modules/react-haste/renderers/dom/ReactDOM.js
.*/node_modules/react-haste/renderers/shared/event/eventPlugins/ResponderEventPlugin.js
# Ignore commoner tests
.*/node_modules/commoner/test/.*
...
...
@@ -43,9 +55,9 @@ suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(1[0-
7
]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(1[0-
7
]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(1[0-
8
]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(1[0-
8
]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
[version]
0.1
7.0
0.1
8.1
Examples/AdvancedEffects/android/app/app.iml
View file @
f9021ce7
...
...
@@ -73,12 +73,12 @@
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/23.0.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/23.0.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/drawee/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fbcore/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fresco/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline-okhttp/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.react/react-native/0.1
4.0
/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/drawee/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fbcore/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fresco/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline-okhttp/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.react/react-native/0.1
6.1
/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/org.webkit/android-jsc/r174650/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/incremental"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/manifests"
/>
...
...
@@ -92,24 +92,27 @@
</content>
<orderEntry
type=
"jdk"
jdkName=
"Android API 23 Platform"
jdkType=
"Android SDK"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okhttp-ws-2.
4
.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okhttp-ws-2.
5
.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"library-2.4.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okhttp-2.4.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okio-1.6.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"stetho-okhttp-1.2.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okhttp-2.5.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"stetho-1.2.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"jsr305-3.0.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"jackson-core-2.2.3"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"fbcore-0.
6
.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"
react-native-0.14.0
"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"fbcore-0.
8
.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"
commons-cli-1.2
"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"recyclerview-v7-23.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"imagepipeline-
okhttp-0.6
.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"imagepipeline-
0.8
.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"android-jsc-r174650"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"imagepipeline-0.6.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"fresco-0.6.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"react-native-0.16.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"fresco-0.8.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"imagepipeline-okhttp-0.8.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"bolts-android-1.1.4"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"support-v4-23.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"
okio-1.5.0
"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"
drawee-0.8.1
"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"appcompat-v7-23.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"drawee-0.6.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"support-annotations-23.0.1"
level=
"project"
/>
<orderEntry
type=
"module"
module-name=
"
rngl
"
exported=
""
/>
<orderEntry
type=
"module"
module-name=
"
RNGL
"
exported=
""
/>
</component>
</module>
\ No newline at end of file
Examples/AdvancedEffects/android/app/build.gradle
View file @
f9021ce7
...
...
@@ -74,6 +74,7 @@ android {
dependencies
{
compile
fileTree
(
dir:
"libs"
,
include:
[
"*.jar"
])
compile
"com.android.support:appcompat-v7:23.0.1"
compile
"com.facebook.react:react-native:0.14.+"
compile
project
(
':rngl'
)
compile
"com.facebook.react:react-native:0.16.+"
compile
project
(
':RNGL'
)
}
Examples/AdvancedEffects/android/app/react.gradle
View file @
f9021ce7
import
org.apache.tools.ant.taskdefs.condition.Os
def
config
=
project
.
hasProperty
(
"react"
)
?
project
.
react
:
[];
def
bundleAssetName
=
config
.
bundleAssetName
?:
"index.android.bundle"
...
...
@@ -36,8 +38,13 @@ task bundleDebugJsAndAssets(type: Exec) {
// set up the call to the react-native cli
workingDir
reactRoot
if
(
Os
.
isFamily
(
Os
.
FAMILY_WINDOWS
))
{
commandLine
"cmd"
,
"/c"
,
"react-native"
,
"bundle"
,
"--platform"
,
"android"
,
"--dev"
,
"true"
,
"--entry-file"
,
entryFile
,
"--bundle-output"
,
jsBundleFileDebug
,
"--assets-dest"
,
resourcesDirDebug
}
else
{
commandLine
"react-native"
,
"bundle"
,
"--platform"
,
"android"
,
"--dev"
,
"true"
,
"--entry-file"
,
entryFile
,
"--bundle-output"
,
jsBundleFileDebug
,
"--assets-dest"
,
resourcesDirDebug
}
enabled
config
.
bundleInDebug
?:
false
}
...
...
@@ -56,8 +63,13 @@ task bundleReleaseJsAndAssets(type: Exec) {
// set up the call to the react-native cli
workingDir
reactRoot
if
(
Os
.
isFamily
(
Os
.
FAMILY_WINDOWS
))
{
commandLine
"cmd"
,
"/c"
,
"react-native"
,
"bundle"
,
"--platform"
,
"android"
,
"--dev"
,
"false"
,
"--entry-file"
,
entryFile
,
"--bundle-output"
,
jsBundleFileRelease
,
"--assets-dest"
,
resourcesDirRelease
}
else
{
commandLine
"react-native"
,
"bundle"
,
"--platform"
,
"android"
,
"--dev"
,
"false"
,
"--entry-file"
,
entryFile
,
"--bundle-output"
,
jsBundleFileRelease
,
"--assets-dest"
,
resourcesDirRelease
}
enabled
config
.
bundleInRelease
?:
true
}
...
...
Examples/AdvancedEffects/android/app/src/main/java/com/advancedeffects/MainActivity.java
View file @
f9021ce7
...
...
@@ -9,7 +9,6 @@ import com.facebook.react.ReactInstanceManager;
import
com.facebook.react.ReactRootView
;
import
com.facebook.react.modules.core.DefaultHardwareBackBtnHandler
;
import
com.facebook.react.shell.MainReactPackage
;
import
com.facebook.soloader.SoLoader
;
import
com.projectseptember.RNGL.RNGLPackage
;
public
class
MainActivity
extends
Activity
implements
DefaultHardwareBackBtnHandler
{
...
...
@@ -26,8 +25,8 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
.
setApplication
(
getApplication
())
.
setBundleAssetName
(
"index.android.bundle"
)
.
setJSMainModuleName
(
"index.android"
)
.
addPackage
(
new
RNGLPackage
())
.
addPackage
(
new
MainReactPackage
())
.
addPackage
(
new
RNGLPackage
())
.
setUseDeveloperSupport
(
BuildConfig
.
DEBUG
)
.
setInitialLifecycleState
(
LifecycleState
.
RESUMED
)
.
build
();
...
...
@@ -74,7 +73,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
super
.
onResume
();
if
(
mReactInstanceManager
!=
null
)
{
mReactInstanceManager
.
onResume
(
this
);
mReactInstanceManager
.
onResume
(
this
,
this
);
}
}
}
Examples/AdvancedEffects/android/build.gradle
View file @
f9021ce7
...
...
@@ -16,5 +16,8 @@ allprojects {
repositories
{
mavenLocal
()
jcenter
()
jcenter
{
url
"http://dl.bintray.com/mkonicek/maven"
}
}
}
Examples/AdvancedEffects/android/settings.gradle
View file @
f9021ce7
...
...
@@ -2,5 +2,5 @@ rootProject.name = 'AdvancedEffects'
include
':app'
include
':rngl'
,
':app'
project
(
':rngl'
).
projectDir
=
new
File
(
rootProject
.
projectDir
,
'../../../android'
)
\ No newline at end of file
include
':RNGL'
project
(
':RNGL'
).
projectDir
=
file
(
'../../../android'
)
\ No newline at end of file
Examples/AdvancedEffects/ios/AdvancedEffects.xcodeproj/project.pbxproj
View file @
f9021ce7
...
...
@@ -21,7 +21,7 @@
13B07FBF1A68108700A75B9A
/* Images.xcassets in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
13B07FB51A68108700A75B9A
/* Images.xcassets */
;
};
13B07FC11A68108700A75B9A
/* main.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
13B07FB71A68108700A75B9A
/* main.m */
;
};
146834051AC3E58100842450
/* libReact.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
146834041AC3E56700842450
/* libReact.a */
;
};
34
25F3031C03B5EE00139EC9
/* libRNGL.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
34582C661BEFE6BA0093A350
/* libRNGL.a */
;
};
34
CCE0351C13208200427A3E
/* libRNGL.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
34CCE0341C13206E00427A3E
/* libRNGL.a */
;
};
832341BD1AAA6AB300B99B32
/* libRCTText.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
832341B51AAA6A8300B99B32
/* libRCTText.a */
;
};
/* End PBXBuildFile section */
...
...
@@ -89,9 +89,9 @@
remoteGlobalIDString
=
83CBBA2E1A601D0E00E9B192
;
remoteInfo
=
React
;
};
34
582C651BEFE6BA0093A350
/* PBXContainerItemProxy */
=
{
34
CCE0331C13206E00427A3E
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
34
582C571BEFE6BA0093A350
/* RNGL.xcodeproj */
;
containerPortal
=
34
CCE0251C13206E00427A3E
/* RNGL.xcodeproj */
;
proxyType
=
2
;
remoteGlobalIDString
=
4107012F1ACB723B00C6AA39
;
remoteInfo
=
RNGL
;
...
...
@@ -132,7 +132,7 @@
13B07FB61A68108700A75B9A
/* Info.plist */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
text.plist.xml
;
name
=
Info.plist
;
path
=
AdvancedEffects/Info.plist
;
sourceTree
=
"<group>"
;
};
13B07FB71A68108700A75B9A
/* main.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
name
=
main.m
;
path
=
AdvancedEffects/main.m
;
sourceTree
=
"<group>"
;
};
146833FF1AC3E56700842450
/* React.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
React.xcodeproj
;
path
=
"../node_modules/react-native/React/React.xcodeproj"
;
sourceTree
=
"<group>"
;
};
34
582C571BEFE6BA0093A350
/* RNGL.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RNGL.xcodeproj
;
path
=
"../node_modules/gl-react-native/ios/RNGL.xcodeproj"
;
sourceTree
=
"<group>"
;
};
34
CCE0251C13206E00427A3E
/* RNGL.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RNGL.xcodeproj
;
path
=
"../node_modules/gl-react-native/ios/RNGL.xcodeproj"
;
sourceTree
=
"<group>"
;
};
78C398B01ACF4ADC00677621
/* RCTLinking.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTLinking.xcodeproj
;
path
=
"../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"
;
sourceTree
=
"<group>"
;
};
832341B01AAA6A8300B99B32
/* RCTText.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTText.xcodeproj
;
path
=
"../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"
;
sourceTree
=
"<group>"
;
};
/* End PBXFileReference section */
...
...
@@ -149,7 +149,7 @@
isa
=
PBXFrameworksBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
34
25F3031C03B5EE00139EC9
/* libRNGL.a in Frameworks */
,
34
CCE0351C13208200427A3E
/* libRNGL.a in Frameworks */
,
146834051AC3E58100842450
/* libReact.a in Frameworks */
,
00C302E51ABCBA2D00DB3ED1
/* libRCTActionSheet.a in Frameworks */
,
00C302E71ABCBA2D00DB3ED1
/* libRCTGeolocation.a in Frameworks */
,
...
...
@@ -261,10 +261,10 @@
name
=
Products
;
sourceTree
=
"<group>"
;
};
34
582C581BEFE6BA0093A350
/* Products */
=
{
34
CCE0261C13206E00427A3E
/* Products */
=
{
isa
=
PBXGroup
;
children
=
(
34
582C661BEFE6BA0093A350
/* libRNGL.a */
,
34
CCE0341C13206E00427A3E
/* libRNGL.a */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
...
...
@@ -280,7 +280,7 @@
832341AE1AAA6A7D00B99B32
/* Libraries */
=
{
isa
=
PBXGroup
;
children
=
(
34
582C571BEFE6BA0093A350
/* RNGL.xcodeproj */
,
34
CCE0251C13206E00427A3E
/* RNGL.xcodeproj */
,
146833FF1AC3E56700842450
/* React.xcodeproj */
,
00C302A71ABCB8CE00DB3ED1
/* RCTActionSheet.xcodeproj */
,
00C302B51ABCB90400DB3ED1
/* RCTGeolocation.xcodeproj */
,
...
...
@@ -431,8 +431,8 @@
ProjectRef
=
146833FF1AC3E56700842450
/* React.xcodeproj */
;
},
{
ProductGroup
=
34
582C581BEFE6BA0093A350
/* Products */
;
ProjectRef
=
34
582C571BEFE6BA0093A350
/* RNGL.xcodeproj */
;
ProductGroup
=
34
CCE0261C13206E00427A3E
/* Products */
;
ProjectRef
=
34
CCE0251C13206E00427A3E
/* RNGL.xcodeproj */
;
},
);
projectRoot
=
""
;
...
...
@@ -500,11 +500,11 @@
remoteRef
=
146834031AC3E56700842450
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
34
582C661BEFE6BA0093A350
/* libRNGL.a */
=
{
34
CCE0341C13206E00427A3E
/* libRNGL.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
path
=
libRNGL.a
;
remoteRef
=
34
582C651BEFE6BA0093A350
/* PBXContainerItemProxy */
;
remoteRef
=
34
CCE0331C13206E00427A3E
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
78C398B91ACF4ADC00677621
/* libRCTLinking.a */
=
{
...
...
Examples/AdvancedEffects/ios/AdvancedEffects/AppDelegate.m
View file @
f9021ce7
...
...
@@ -47,7 +47,7 @@
launchOptions:
launchOptions
];
self
.
window
=
[[
UIWindow
alloc
]
initWithFrame
:[
UIScreen
mainScreen
].
bounds
];
UIViewController
*
rootViewController
=
[
[
UIViewController
alloc
]
init
];
UIViewController
*
rootViewController
=
[
UIViewController
new
];
rootViewController
.
view
=
rootView
;
self
.
window
.
rootViewController
=
rootViewController
;
[
self
.
window
makeKeyAndVisible
];
...
...
Examples/AdvancedEffects/ios/AdvancedEffectsTests/AdvancedEffectsTests.m
View file @
f9021ce7
...
...
@@ -42,7 +42,7 @@
BOOL
foundElement
=
NO
;
__block
NSString
*
redboxError
=
nil
;
RCTSetLogFunction
(
^
(
RCTLogLevel
level
,
NSString
*
fileName
,
NSNumber
*
lineNumber
,
NSString
*
message
)
{
RCTSetLogFunction
(
^
(
RCTLogLevel
level
,
RCTLogSource
source
,
NSString
*
fileName
,
NSNumber
*
lineNumber
,
NSString
*
message
)
{
if
(
level
>=
RCTLogLevelError
)
{
redboxError
=
message
;
}
...
...
Examples/AdvancedEffects/package.json
View file @
f9021ce7
...
...
@@ -6,9 +6,9 @@
"start"
:
"react-native start"
},
"dependencies"
:
{
"gl-react-native"
:
"file:../.."
,
"gl-react"
:
"file:../../../gl-react"
,
"gl-react-native"
:
"file:../.."
,
"glsl-transitions"
:
"^2015.11.8"
,
"react-native"
:
"^0.1
4.2
"
"react-native"
:
"^0.1
6.0
"
}
}
Examples/AdvancedEffects/src/Slideshow.js
View file @
f9021ce7
...
...
@@ -41,6 +41,8 @@ class Slideshow extends React.Component {
to
=
{
transitionTo
}
shader
=
{
transitionShader
}
uniforms
=
{
transitionUniforms
}
width
=
{
width
}
height
=
{
height
}
/
>
<
/Surface
>
<
View
style
=
{
styles
.
legend
}
>
...
...
Examples/Simple/.flowconfig
View file @
f9021ce7
...
...
@@ -7,12 +7,24 @@
# Some modules have their own node_modules with overlap
.*/node_modules/node-haste/.*
# Ignore react-tools where there are overlaps, but don't ignore anything that
# react-native relies on
.*/node_modules/react-tools/src/React.js
.*/node_modules/react-tools/src/renderers/shared/event/EventPropagators.js
.*/node_modules/react-tools/src/renderers/shared/event/eventPlugins/ResponderEventPlugin.js
.*/node_modules/react-tools/src/shared/vendor/core/ExecutionEnvironment.js
# Ugh
.*/node_modules/babel.*
.*/node_modules/babylon.*
.*/node_modules/invariant.*
# Ignore react and fbjs where there are overlaps, but don't ignore
# anything that react-native relies on
.*/node_modules/fbjs-haste/.*/__tests__/.*
.*/node_modules/fbjs-haste/__forks__/Map.js
.*/node_modules/fbjs-haste/__forks__/Promise.js
.*/node_modules/fbjs-haste/__forks__/fetch.js
.*/node_modules/fbjs-haste/core/ExecutionEnvironment.js
.*/node_modules/fbjs-haste/core/isEmpty.js
.*/node_modules/fbjs-haste/crypto/crc32.js
.*/node_modules/fbjs-haste/stubs/ErrorUtils.js
.*/node_modules/react-haste/React.js
.*/node_modules/react-haste/renderers/dom/ReactDOM.js
.*/node_modules/react-haste/renderers/shared/event/eventPlugins/ResponderEventPlugin.js
# Ignore commoner tests
.*/node_modules/commoner/test/.*
...
...
@@ -43,9 +55,9 @@ suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(1[0-
7
]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(1[0-
7
]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(1[0-
8
]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(1[0-
8
]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
[version]
0.1
7.0
0.1
8.1
Examples/Simple/android/app/app.iml
View file @
f9021ce7
...
...
@@ -72,12 +72,12 @@
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/23.0.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/23.0.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/drawee/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fbcore/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fresco/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline-okhttp/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.react/react-native/0.1
4.0
/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/drawee/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fbcore/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fresco/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline-okhttp/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.react/react-native/0.1
6.1
/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/org.webkit/android-jsc/r174650/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/incremental"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/manifests"
/>
...
...
@@ -91,25 +91,28 @@
</content>
<orderEntry
type=
"jdk"
jdkName=
"Android API 23 Platform"
jdkType=
"Android SDK"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okhttp-ws-2.
4
.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okhttp-ws-2.
5
.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"library-2.4.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okhttp-2.4.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okio-1.6.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"stetho-okhttp-1.2.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okhttp-2.5.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"stetho-1.2.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"jsr305-3.0.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"jackson-core-2.2.3"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"fbcore-0.
6
.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"
react-native-0.14.0
"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"fbcore-0.
8
.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"
commons-cli-1.2
"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"recyclerview-v7-23.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"imagepipeline-
okhttp-0.6
.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"imagepipeline-
0.8
.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"android-jsc-r174650"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"imagepipeline-0.6.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"fresco-0.6.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"react-native-0.16.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"fresco-0.8.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"imagepipeline-okhttp-0.8.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"bolts-android-1.1.4"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"support-v4-23.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"
okio-1.5.0
"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"
drawee-0.8.1
"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"appcompat-v7-23.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"drawee-0.6.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"support-annotations-23.0.1"
level=
"project"
/>
<orderEntry
type=
"module"
module-name=
"RNMaterialKit"
exported=
""
/>
<orderEntry
type=
"module"
module-name=
"
rngl
"
exported=
""
/>
<orderEntry
type=
"module"
module-name=
"
RNGL
"
exported=
""
/>
</component>
</module>
\ No newline at end of file
Examples/Simple/android/app/build.gradle
View file @
f9021ce7
...
...
@@ -74,7 +74,8 @@ android {
dependencies
{
compile
fileTree
(
dir:
"libs"
,
include:
[
"*.jar"
])
compile
"com.android.support:appcompat-v7:23.0.1"
compile
"com.facebook.react:react-native:0.14.+"
compile
project
(
':rngl'
)
compile
project
(
':RNMaterialKit'
)
compile
"com.facebook.react:react-native:0.16.+"
compile
project
(
":RNMaterialKit"
)
compile
project
(
":RNGL"
)
}
Examples/Simple/android/app/react.gradle
View file @
f9021ce7
import
org.apache.tools.ant.taskdefs.condition.Os
def
config
=
project
.
hasProperty
(
"react"
)
?
project
.
react
:
[];
def
bundleAssetName
=
config
.
bundleAssetName
?:
"index.android.bundle"
...
...
@@ -36,8 +38,13 @@ task bundleDebugJsAndAssets(type: Exec) {
// set up the call to the react-native cli
workingDir
reactRoot
if
(
Os
.
isFamily
(
Os
.
FAMILY_WINDOWS
))
{
commandLine
"cmd"
,
"/c"
,
"react-native"
,
"bundle"
,
"--platform"
,
"android"
,
"--dev"
,
"true"
,
"--entry-file"
,
entryFile
,
"--bundle-output"
,
jsBundleFileDebug
,
"--assets-dest"
,
resourcesDirDebug
}
else
{
commandLine
"react-native"
,
"bundle"
,
"--platform"
,
"android"
,
"--dev"
,
"true"
,
"--entry-file"
,
entryFile
,
"--bundle-output"
,
jsBundleFileDebug
,
"--assets-dest"
,
resourcesDirDebug
}
enabled
config
.
bundleInDebug
?:
false
}
...
...
@@ -56,8 +63,13 @@ task bundleReleaseJsAndAssets(type: Exec) {
// set up the call to the react-native cli
workingDir
reactRoot
if
(
Os
.
isFamily
(
Os
.
FAMILY_WINDOWS
))
{
commandLine
"cmd"
,
"/c"
,
"react-native"
,
"bundle"
,
"--platform"
,
"android"
,
"--dev"
,
"false"
,
"--entry-file"
,
entryFile
,
"--bundle-output"
,
jsBundleFileRelease
,
"--assets-dest"
,
resourcesDirRelease
}
else
{
commandLine
"react-native"
,
"bundle"
,
"--platform"
,
"android"
,
"--dev"
,
"false"
,
"--entry-file"
,
entryFile
,
"--bundle-output"
,
jsBundleFileRelease
,
"--assets-dest"
,
resourcesDirRelease
}
enabled
config
.
bundleInRelease
?:
true
}
...
...
Examples/Simple/android/app/src/main/java/com/simple/MainActivity.java
View file @
f9021ce7
...
...
@@ -9,7 +9,6 @@ import com.facebook.react.ReactInstanceManager;
import
com.facebook.react.ReactRootView
;
import
com.facebook.react.modules.core.DefaultHardwareBackBtnHandler
;
import
com.facebook.react.shell.MainReactPackage
;
import
com.facebook.soloader.SoLoader
;
import
com.github.xinthink.rnmk.ReactMaterialKitPackage
;
import
com.projectseptember.RNGL.RNGLPackage
;
...
...
@@ -76,7 +75,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
super
.
onResume
();
if
(
mReactInstanceManager
!=
null
)
{
mReactInstanceManager
.
onResume
(
this
);
mReactInstanceManager
.
onResume
(
this
,
this
);
}
}
}
Examples/Simple/android/build.gradle
View file @
f9021ce7
...
...
@@ -16,5 +16,8 @@ allprojects {
repositories
{
mavenLocal
()
jcenter
()
jcenter
{
url
"http://dl.bintray.com/mkonicek/maven"
}
}
}
Examples/Simple/android/settings.gradle
View file @
f9021ce7
...
...
@@ -2,8 +2,8 @@ rootProject.name = 'Simple'
include
':app'
include
':rngl'
,
':app'
project
(
':rngl'
).
projectDir
=
new
File
(
rootProject
.
projectDir
,
'../../../android'
)
include
':RNMaterialKit'
project
(
':RNMaterialKit'
).
projectDir
=
file
(
'../node_modules/react-native-material-kit/android'
)
include
':RNGL'
project
(
':RNGL'
).
projectDir
=
file
(
'../../../android'
)
\ No newline at end of file
Examples/Simple/ios/Simple.xcodeproj/project.pbxproj
View file @
f9021ce7
...
...
@@ -21,8 +21,8 @@
13B07FBF1A68108700A75B9A
/* Images.xcassets in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
13B07FB51A68108700A75B9A
/* Images.xcassets */
;
};
13B07FC11A68108700A75B9A
/* main.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
13B07FB71A68108700A75B9A
/* main.m */
;
};
146834051AC3E58100842450
/* libReact.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
146834041AC3E56700842450
/* libReact.a */
;
};
34
BDBFE91C00AB2100A531CF
/* libRCTMaterialKit.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
347A8B8B1C00771B00A29A6
1
/* libRCTMaterialKit.a */
;
};
34
BDBFF51C00AB2400A531CF
/* libRNGL.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
347A8B851C00770E00A29A61
/* libRNGL.a */
;
};
34
607B601C132B22009203B1
/* libRCTMaterialKit.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
34607B581C132B1C009203B
1
/* libRCTMaterialKit.a */
;
};
34
61EB4B1C132AEC0003E4A2
/* libRNGL.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
3461EB4A1C132AD30003E4A2
/* libRNGL.a */
;
};
832341BD1AAA6AB300B99B32
/* libRCTText.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
832341B51AAA6A8300B99B32
/* libRCTText.a */
;
};
/* End PBXBuildFile section */
...
...
@@ -90,19 +90,19 @@
remoteGlobalIDString
=
83CBBA2E1A601D0E00E9B192
;
remoteInfo
=
React
;
};
34
7A8B841C00770E00A29A6
1
/* PBXContainerItemProxy */
=
{
34
607B571C132B1C009203B
1
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
34
7A8B761C00770E00A29A61
/* RNGL
.xcodeproj */
;
containerPortal
=
34
607B4F1C132B1C009203B1
/* RCTMaterialKit
.xcodeproj */
;
proxyType
=
2
;
remoteGlobalIDString
=
4107012F1ACB723B00C6AA39
;
remoteInfo
=
R
NGL
;
remoteGlobalIDString
=
8A1B8E771B22E4E300DB45C2
;
remoteInfo
=
R
CTMaterialKit
;
};
34
7A8B8A1C00771B00A29A61
/* PBXContainerItemProxy */
=
{
34
61EB491C132AD30003E4A2
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
34
7A8B861C00771B00A29A61
/* RCTMaterialKit
.xcodeproj */
;
containerPortal
=
34
61EB3B1C132AD30003E4A2
/* RNGL
.xcodeproj */
;
proxyType
=
2
;
remoteGlobalIDString
=
8A1B8E771B22E4E300DB45C2
;
remoteInfo
=
R
CTMaterialKit
;
remoteGlobalIDString
=
4107012F1ACB723B00C6AA39
;
remoteInfo
=
R
NGL
;
};
78C398B81ACF4ADC00677621
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
...
...
@@ -140,8 +140,8 @@
13B07FB61A68108700A75B9A
/* Info.plist */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
text.plist.xml
;
name
=
Info.plist
;
path
=
Simple/Info.plist
;
sourceTree
=
"<group>"
;
};
13B07FB71A68108700A75B9A
/* main.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
name
=
main.m
;
path
=
Simple/main.m
;
sourceTree
=
"<group>"
;
};
146833FF1AC3E56700842450
/* React.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
React.xcodeproj
;
path
=
"../node_modules/react-native/React/React.xcodeproj"
;
sourceTree
=
"<group>"
;
};
34
7A8B761C00770E00A29A61
/* RNGL.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RNGL.xcodeproj
;
path
=
"../node_modules/gl-react-native/ios/RNGL
.xcodeproj"
;
sourceTree
=
"<group>"
;
};
34
7A8B861C00771B00A29A61
/* RCTMaterialKit.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTMaterialKit.xcodeproj
;
path
=
"../node_modules/react-native-material-kit/iOS/RCTMaterialKit
.xcodeproj"
;
sourceTree
=
"<group>"
;
};
34
607B4F1C132B1C009203B1
/* RCTMaterialKit.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTMaterialKit.xcodeproj
;
path
=
"../node_modules/react-native-material-kit/iOS/RCTMaterialKit
.xcodeproj"
;
sourceTree
=
"<group>"
;
};
34
61EB3B1C132AD30003E4A2
/* RNGL.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RNGL.xcodeproj
;
path
=
"../node_modules/gl-react-native/ios/RNGL
.xcodeproj"
;
sourceTree
=
"<group>"
;
};
78C398B01ACF4ADC00677621
/* RCTLinking.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTLinking.xcodeproj
;
path
=
"../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"
;
sourceTree
=
"<group>"
;
};
832341B01AAA6A8300B99B32
/* RCTText.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTText.xcodeproj
;
path
=
"../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"
;
sourceTree
=
"<group>"
;
};
/* End PBXFileReference section */
...
...
@@ -158,8 +158,8 @@
isa
=
PBXFrameworksBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
34
BDBFF51C00AB2400A531CF
/* libRNGL
.a in Frameworks */
,
34
BDBFE91C00AB2100A531CF
/* libRCTMaterialKit
.a in Frameworks */
,
34
607B601C132B22009203B1
/* libRCTMaterialKit
.a in Frameworks */
,
34
61EB4B1C132AEC0003E4A2
/* libRNGL
.a in Frameworks */
,
146834051AC3E58100842450
/* libReact.a in Frameworks */
,
00C302E51ABCBA2D00DB3ED1
/* libRCTActionSheet.a in Frameworks */
,
00C302E71ABCBA2D00DB3ED1
/* libRCTGeolocation.a in Frameworks */
,
...
...
@@ -271,18 +271,18 @@
name
=
Products
;
sourceTree
=
"<group>"
;
};
34
7A8B771C00770E00A29A6
1
/* Products */
=
{
34
607B501C132B1C009203B
1
/* Products */
=
{
isa
=
PBXGroup
;
children
=
(
34
7A8B851C00770E00A29A61
/* libRNGL
.a */
,
34
607B581C132B1C009203B1
/* libRCTMaterialKit
.a */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
};
34
7A8B871C00771B00A29A61
/* Products */
=
{
34
61EB3C1C132AD30003E4A2
/* Products */
=
{
isa
=
PBXGroup
;
children
=
(
34
7A8B8B1C00771B00A29A61
/* libRCTMaterialKit
.a */
,
34
61EB4A1C132AD30003E4A2
/* libRNGL
.a */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
...
...
@@ -298,8 +298,8 @@
832341AE1AAA6A7D00B99B32
/* Libraries */
=
{
isa
=
PBXGroup
;
children
=
(
34
7A8B861C00771B00A29A6
1
/* RCTMaterialKit.xcodeproj */
,
34
7A8B761C00770E00A29A61
/* RNGL.xcodeproj */
,
34
607B4F1C132B1C009203B
1
/* RCTMaterialKit.xcodeproj */
,
34
61EB3B1C132AD30003E4A2
/* RNGL.xcodeproj */
,
146833FF1AC3E56700842450
/* React.xcodeproj */
,
00C302A71ABCB8CE00DB3ED1
/* RCTActionSheet.xcodeproj */
,
00C302B51ABCB90400DB3ED1
/* RCTGeolocation.xcodeproj */
,
...
...
@@ -426,8 +426,8 @@
ProjectRef
=
78C398B01ACF4ADC00677621
/* RCTLinking.xcodeproj */
;
},
{
ProductGroup
=
34
7A8B871C00771B00A29A6
1
/* Products */
;
ProjectRef
=
34
7A8B861C00771B00A29A6
1
/* RCTMaterialKit.xcodeproj */
;
ProductGroup
=
34
607B501C132B1C009203B
1
/* Products */
;
ProjectRef
=
34
607B4F1C132B1C009203B
1
/* RCTMaterialKit.xcodeproj */
;
},
{
ProductGroup
=
00C302D41ABCB9D200DB3ED1
/* Products */
;
...
...
@@ -454,8 +454,8 @@
ProjectRef
=
146833FF1AC3E56700842450
/* React.xcodeproj */
;
},
{
ProductGroup
=
34
7A8B771C00770E00A29A61
/* Products */
;
ProjectRef
=
34
7A8B761C00770E00A29A61
/* RNGL.xcodeproj */
;
ProductGroup
=
34
61EB3C1C132AD30003E4A2
/* Products */
;
ProjectRef
=
34
61EB3B1C132AD30003E4A2
/* RNGL.xcodeproj */
;
},
);
projectRoot
=
""
;
...
...
@@ -523,18 +523,18 @@
remoteRef
=
146834031AC3E56700842450
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
34
7A8B851C00770E00A29A61
/* libRNGL
.a */
=
{
34
607B581C132B1C009203B1
/* libRCTMaterialKit
.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
path
=
libR
NGL
.a
;
remoteRef
=
34
7A8B841C00770E00A29A6
1
/* PBXContainerItemProxy */
;
path
=
libR
CTMaterialKit
.a
;
remoteRef
=
34
607B571C132B1C009203B
1
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
34
7A8B8B1C00771B00A29A61
/* libRCTMaterialKit
.a */
=
{
34
61EB4A1C132AD30003E4A2
/* libRNGL
.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
path
=
libR
CTMaterialKit
.a
;
remoteRef
=
34
7A8B8A1C00771B00A29A61
/* PBXContainerItemProxy */
;
path
=
libR
NGL
.a
;
remoteRef
=
34
61EB491C132AD30003E4A2
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
78C398B91ACF4ADC00677621
/* libRCTLinking.a */
=
{
...
...
Examples/Simple/ios/Simple/AppDelegate.m
View file @
f9021ce7
...
...
@@ -47,7 +47,7 @@
launchOptions:
launchOptions
];
self
.
window
=
[[
UIWindow
alloc
]
initWithFrame
:[
UIScreen
mainScreen
].
bounds
];
UIViewController
*
rootViewController
=
[
[
UIViewController
alloc
]
init
];
UIViewController
*
rootViewController
=
[
UIViewController
new
];
rootViewController
.
view
=
rootView
;
self
.
window
.
rootViewController
=
rootViewController
;
[
self
.
window
makeKeyAndVisible
];
...
...
Examples/Simple/ios/SimpleTests/SimpleTests.m
View file @
f9021ce7
...
...
@@ -42,7 +42,7 @@
BOOL
foundElement
=
NO
;
__block
NSString
*
redboxError
=
nil
;
RCTSetLogFunction
(
^
(
RCTLogLevel
level
,
NSString
*
fileName
,
NSNumber
*
lineNumber
,
NSString
*
message
)
{
RCTSetLogFunction
(
^
(
RCTLogLevel
level
,
RCTLogSource
source
,
NSString
*
fileName
,
NSNumber
*
lineNumber
,
NSString
*
message
)
{
if
(
level
>=
RCTLogLevelError
)
{
redboxError
=
message
;
}
...
...
Examples/Simple/package.json
View file @
f9021ce7
...
...
@@ -8,7 +8,7 @@
"dependencies"
:
{
"gl-react-native"
:
"file:../.."
,
"gl-react"
:
"file:../../../gl-react"
,
"react-native"
:
"^0.1
4.2
"
,
"react-native"
:
"^0.1
6.0
"
,
"react-native-material-kit"
:
"^0.2.2"
}
}
Examples/Tests/.flowconfig
View file @
f9021ce7
...
...
@@ -7,12 +7,24 @@
# Some modules have their own node_modules with overlap
.*/node_modules/node-haste/.*
# Ignore react-tools where there are overlaps, but don't ignore anything that
# react-native relies on
.*/node_modules/react-tools/src/React.js
.*/node_modules/react-tools/src/renderers/shared/event/EventPropagators.js
.*/node_modules/react-tools/src/renderers/shared/event/eventPlugins/ResponderEventPlugin.js
.*/node_modules/react-tools/src/shared/vendor/core/ExecutionEnvironment.js
# Ugh
.*/node_modules/babel.*
.*/node_modules/babylon.*
.*/node_modules/invariant.*
# Ignore react and fbjs where there are overlaps, but don't ignore
# anything that react-native relies on
.*/node_modules/fbjs-haste/.*/__tests__/.*
.*/node_modules/fbjs-haste/__forks__/Map.js
.*/node_modules/fbjs-haste/__forks__/Promise.js
.*/node_modules/fbjs-haste/__forks__/fetch.js
.*/node_modules/fbjs-haste/core/ExecutionEnvironment.js
.*/node_modules/fbjs-haste/core/isEmpty.js
.*/node_modules/fbjs-haste/crypto/crc32.js
.*/node_modules/fbjs-haste/stubs/ErrorUtils.js
.*/node_modules/react-haste/React.js
.*/node_modules/react-haste/renderers/dom/ReactDOM.js
.*/node_modules/react-haste/renderers/shared/event/eventPlugins/ResponderEventPlugin.js
# Ignore commoner tests
.*/node_modules/commoner/test/.*
...
...
Examples/Tests/android/app/app.iml
View file @
f9021ce7
...
...
@@ -72,12 +72,12 @@
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/23.0.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/23.0.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/drawee/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fbcore/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fresco/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline-okhttp/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline/0.
6
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.react/react-native/0.1
5.3
/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/drawee/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fbcore/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fresco/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline-okhttp/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline/0.
8
.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.react/react-native/0.1
6.1
/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/org.webkit/android-jsc/r174650/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/incremental"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/manifests"
/>
...
...
@@ -91,24 +91,27 @@
</content>
<orderEntry
type=
"jdk"
jdkName=
"Android API 23 Platform"
jdkType=
"Android SDK"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okhttp-ws-2.
4
.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okhttp-ws-2.
5
.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"library-2.4.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okhttp-2.4.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okio-1.6.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"stetho-okhttp-1.2.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"okhttp-2.5.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"stetho-1.2.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"jsr305-3.0.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"jackson-core-2.2.3"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"fbcore-0.6.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"fbcore-0.8.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"commons-cli-1.2"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"recyclerview-v7-23.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"imagepipeline-okhttp-0.6.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"react-native-0.15.3"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"imagepipeline-0.8.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"android-jsc-r174650"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"imagepipeline-0.6.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"fresco-0.6.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"react-native-0.16.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"fresco-0.8.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"imagepipeline-okhttp-0.8.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"bolts-android-1.1.4"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"support-v4-23.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"
okio-1.5.0
"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"
drawee-0.8.1
"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"appcompat-v7-23.0.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"drawee-0.6.1"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"support-annotations-23.0.1"
level=
"project"
/>
<orderEntry
type=
"module"
module-name=
"
rngl
"
exported=
""
/>
<orderEntry
type=
"module"
module-name=
"
RNGL
"
exported=
""
/>
</component>
</module>
\ No newline at end of file
Examples/Tests/android/app/build.gradle
View file @
f9021ce7
...
...
@@ -74,6 +74,7 @@ android {
dependencies
{
compile
fileTree
(
dir:
"libs"
,
include:
[
"*.jar"
])
compile
"com.android.support:appcompat-v7:23.0.1"
compile
"com.facebook.react:react-native:0.15.+"
compile
project
(
':rngl'
)
compile
"com.facebook.react:react-native:0.16.+"
compile
project
(
":RNGL"
)
}
Examples/Tests/android/app/react.gradle
View file @
f9021ce7
import
org.apache.tools.ant.taskdefs.condition.Os
def
config
=
project
.
hasProperty
(
"react"
)
?
project
.
react
:
[];
def
bundleAssetName
=
config
.
bundleAssetName
?:
"index.android.bundle"
...
...
@@ -36,8 +38,13 @@ task bundleDebugJsAndAssets(type: Exec) {
// set up the call to the react-native cli
workingDir
reactRoot
if
(
Os
.
isFamily
(
Os
.
FAMILY_WINDOWS
))
{
commandLine
"cmd"
,
"/c"
,
"react-native"
,
"bundle"
,
"--platform"
,
"android"
,
"--dev"
,
"true"
,
"--entry-file"
,
entryFile
,
"--bundle-output"
,
jsBundleFileDebug
,
"--assets-dest"
,
resourcesDirDebug
}
else
{
commandLine
"react-native"
,
"bundle"
,
"--platform"
,
"android"
,
"--dev"
,
"true"
,
"--entry-file"
,
entryFile
,
"--bundle-output"
,
jsBundleFileDebug
,
"--assets-dest"
,
resourcesDirDebug
}
enabled
config
.
bundleInDebug
?:
false
}
...
...
@@ -56,8 +63,13 @@ task bundleReleaseJsAndAssets(type: Exec) {
// set up the call to the react-native cli
workingDir
reactRoot
if
(
Os
.
isFamily
(
Os
.
FAMILY_WINDOWS
))
{
commandLine
"cmd"
,
"/c"
,
"react-native"
,
"bundle"
,
"--platform"
,
"android"
,
"--dev"
,
"false"
,
"--entry-file"
,
entryFile
,
"--bundle-output"
,
jsBundleFileRelease
,
"--assets-dest"
,
resourcesDirRelease
}
else
{
commandLine
"react-native"
,
"bundle"
,
"--platform"
,
"android"
,
"--dev"
,
"false"
,
"--entry-file"
,
entryFile
,
"--bundle-output"
,
jsBundleFileRelease
,
"--assets-dest"
,
resourcesDirRelease
}
enabled
config
.
bundleInRelease
?:
true
}
...
...
Examples/Tests/android/app/src/main/java/com/tests/MainActivity.java
View file @
f9021ce7
...
...
@@ -26,8 +26,8 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
.
setApplication
(
getApplication
())
.
setBundleAssetName
(
"index.android.bundle"
)
.
setJSMainModuleName
(
"index.android"
)
.
addPackage
(
new
RNGLPackage
())
.
addPackage
(
new
MainReactPackage
())
.
addPackage
(
new
RNGLPackage
())
.
setUseDeveloperSupport
(
BuildConfig
.
DEBUG
)
.
setInitialLifecycleState
(
LifecycleState
.
RESUMED
)
.
build
();
...
...
Examples/Tests/android/build.gradle
View file @
f9021ce7
...
...
@@ -16,5 +16,8 @@ allprojects {
repositories
{
mavenLocal
()
jcenter
()
jcenter
{
url
"http://dl.bintray.com/mkonicek/maven"
}
}
}
Examples/Tests/android/settings.gradle
View file @
f9021ce7
...
...
@@ -2,5 +2,5 @@ rootProject.name = 'Tests'
include
':app'
include
':rngl'
,
':app'
project
(
':rngl'
).
projectDir
=
new
File
(
rootProject
.
projectDir
,
'../../../android'
)
\ No newline at end of file
include
':RNGL'
project
(
':RNGL'
).
projectDir
=
file
(
'../../../android'
)
\ No newline at end of file
Examples/Tests/iOS/Tests.xcodeproj/project.pbxproj
View file @
f9021ce7
...
...
@@ -21,7 +21,7 @@
13B07FBF1A68108700A75B9A
/* Images.xcassets in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
13B07FB51A68108700A75B9A
/* Images.xcassets */
;
};
13B07FC11A68108700A75B9A
/* main.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
13B07FB71A68108700A75B9A
/* main.m */
;
};
146834051AC3E58100842450
/* libReact.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
146834041AC3E56700842450
/* libReact.a */
;
};
34
9265F01C066AAD00992528
/* libRNGL.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
349265EF1C066AA400992528
/* libRNGL.a */
;
};
34
61EB301C132AA90003E4A2
/* libRNGL.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
3461EB2F1C132A9F0003E4A2
/* libRNGL.a */
;
};
832341BD1AAA6AB300B99B32
/* libRCTText.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
832341B51AAA6A8300B99B32
/* libRCTText.a */
;
};
/* End PBXBuildFile section */
...
...
@@ -89,9 +89,9 @@
remoteGlobalIDString
=
83CBBA2E1A601D0E00E9B192
;
remoteInfo
=
React
;
};
34
9265EE1C066AA400992528
/* PBXContainerItemProxy */
=
{
34
61EB2E1C132A9F0003E4A2
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
34
9265E01C066AA400992528
/* RNGL.xcodeproj */
;
containerPortal
=
34
61EB201C132A9F0003E4A2
/* RNGL.xcodeproj */
;
proxyType
=
2
;
remoteGlobalIDString
=
4107012F1ACB723B00C6AA39
;
remoteInfo
=
RNGL
;
...
...
@@ -132,7 +132,7 @@
13B07FB61A68108700A75B9A
/* Info.plist */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
text.plist.xml
;
name
=
Info.plist
;
path
=
Tests/Info.plist
;
sourceTree
=
"<group>"
;
};
13B07FB71A68108700A75B9A
/* main.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
name
=
main.m
;
path
=
Tests/main.m
;
sourceTree
=
"<group>"
;
};
146833FF1AC3E56700842450
/* React.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
React.xcodeproj
;
path
=
"../node_modules/react-native/React/React.xcodeproj"
;
sourceTree
=
"<group>"
;
};
34
9265E01C066AA400992528
/* RNGL.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RNGL.xcodeproj
;
path
=
"../node_modules/gl-react-native/ios/RNGL.xcodeproj"
;
sourceTree
=
"<group>"
;
};
34
61EB201C132A9F0003E4A2
/* RNGL.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RNGL.xcodeproj
;
path
=
"../node_modules/gl-react-native/ios/RNGL.xcodeproj"
;
sourceTree
=
"<group>"
;
};
78C398B01ACF4ADC00677621
/* RCTLinking.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTLinking.xcodeproj
;
path
=
"../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"
;
sourceTree
=
"<group>"
;
};
832341B01AAA6A8300B99B32
/* RCTText.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTText.xcodeproj
;
path
=
"../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"
;
sourceTree
=
"<group>"
;
};
/* End PBXFileReference section */
...
...
@@ -149,7 +149,7 @@
isa
=
PBXFrameworksBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
34
9265F01C066AAD00992528
/* libRNGL.a in Frameworks */
,
34
61EB301C132AA90003E4A2
/* libRNGL.a in Frameworks */
,
146834051AC3E58100842450
/* libReact.a in Frameworks */
,
00C302E51ABCBA2D00DB3ED1
/* libRCTActionSheet.a in Frameworks */
,
00C302E71ABCBA2D00DB3ED1
/* libRCTGeolocation.a in Frameworks */
,
...
...
@@ -261,10 +261,10 @@
name
=
Products
;
sourceTree
=
"<group>"
;
};
34
9265E11C066AA400992528
/* Products */
=
{
34
61EB211C132A9F0003E4A2
/* Products */
=
{
isa
=
PBXGroup
;
children
=
(
34
9265EF1C066AA400992528
/* libRNGL.a */
,
34
61EB2F1C132A9F0003E4A2
/* libRNGL.a */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
...
...
@@ -280,6 +280,7 @@
832341AE1AAA6A7D00B99B32
/* Libraries */
=
{
isa
=
PBXGroup
;
children
=
(
3461EB201C132A9F0003E4A2
/* RNGL.xcodeproj */
,
146833FF1AC3E56700842450
/* React.xcodeproj */
,
00C302A71ABCB8CE00DB3ED1
/* RCTActionSheet.xcodeproj */
,
00C302B51ABCB90400DB3ED1
/* RCTGeolocation.xcodeproj */
,
...
...
@@ -290,7 +291,6 @@
832341B01AAA6A8300B99B32
/* RCTText.xcodeproj */
,
00C302DF1ABCB9EE00DB3ED1
/* RCTVibration.xcodeproj */
,
139FDEE61B06529A00C62182
/* RCTWebSocket.xcodeproj */
,
349265E01C066AA400992528
/* RNGL.xcodeproj */
,
);
name
=
Libraries
;
sourceTree
=
"<group>"
;
...
...
@@ -431,8 +431,8 @@
ProjectRef
=
146833FF1AC3E56700842450
/* React.xcodeproj */
;
},
{
ProductGroup
=
34
9265E11C066AA400992528
/* Products */
;
ProjectRef
=
34
9265E01C066AA400992528
/* RNGL.xcodeproj */
;
ProductGroup
=
34
61EB211C132A9F0003E4A2
/* Products */
;
ProjectRef
=
34
61EB201C132A9F0003E4A2
/* RNGL.xcodeproj */
;
},
);
projectRoot
=
""
;
...
...
@@ -500,11 +500,11 @@
remoteRef
=
146834031AC3E56700842450
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
34
9265EF1C066AA400992528
/* libRNGL.a */
=
{
34
61EB2F1C132A9F0003E4A2
/* libRNGL.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
path
=
libRNGL.a
;
remoteRef
=
34
9265EE1C066AA400992528
/* PBXContainerItemProxy */
;
remoteRef
=
34
61EB2E1C132A9F0003E4A2
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
78C398B91ACF4ADC00677621
/* libRCTLinking.a */
=
{
...
...
Examples/Tests/ios/TestsTests/TestsTests.m
View file @
f9021ce7
...
...
@@ -42,7 +42,7 @@
BOOL
foundElement
=
NO
;
__block
NSString
*
redboxError
=
nil
;
RCTSetLogFunction
(
^
(
RCTLogLevel
level
,
NSString
*
fileName
,
NSNumber
*
lineNumber
,
NSString
*
message
)
{
RCTSetLogFunction
(
^
(
RCTLogLevel
level
,
RCTLogSource
source
,
NSString
*
fileName
,
NSNumber
*
lineNumber
,
NSString
*
message
)
{
if
(
level
>=
RCTLogLevelError
)
{
redboxError
=
message
;
}
...
...
Examples/Tests/package.json
View file @
f9021ce7
...
...
@@ -8,9 +8,6 @@
"dependencies"
:
{
"gl-react-native"
:
"file:../.."
,
"gl-react"
:
"file:../../../gl-react"
,
"react-native"
:
"^0.14.2"
},
"devDependencies"
:
{
"react-native-cli"
:
"^0.1.7"
"react-native"
:
"^0.16.0"
}
}
android/rngl.iml
View file @
f9021ce7
<?xml version="1.0" encoding="UTF-8"?>
<module
external.linked.project.id=
":
rngl"
external.linked.project.path=
"$MODULE_DIR$"
external.root.project.path=
"$MODULE_DIR$/../Examples/AdvancedEffects/android"
external.system.id=
"GRADLE"
external.system.module.group=
"AdvancedEffec
ts"
external.system.module.version=
"unspecified"
type=
"JAVA_MODULE"
version=
"4"
>
<module
external.linked.project.id=
":
RNGL"
external.linked.project.path=
"$MODULE_DIR$"
external.root.project.path=
"$MODULE_DIR$/../Examples/Tests/android"
external.system.id=
"GRADLE"
external.system.module.group=
"Tes
ts"
external.system.module.version=
"unspecified"
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"FacetManager"
>
<facet
type=
"android-gradle"
name=
"Android-Gradle"
>
<configuration>
<option
name=
"GRADLE_PROJECT_PATH"
value=
":
rngl
"
/>
<option
name=
"GRADLE_PROJECT_PATH"
value=
":
RNGL
"
/>
</configuration>
</facet>
<facet
type=
"android"
name=
"Android"
>
...
...
@@ -70,6 +70,12 @@
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/bundles"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/classes"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/dependency-cache"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/drawee/0.6.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fbcore/0.6.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/fresco/0.6.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline-okhttp/0.6.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline/0.6.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.facebook.react/react-native/0.14.0/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/incremental"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/lint"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/res"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment