Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Actions values to a more standard format #550

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3561582
direction support for rn 0.24+
joenoon Apr 11, 2016
1256e03
fix || logic and optimize duration 0
joenoon Apr 11, 2016
914ae8b
Improve README
Kerumen Apr 17, 2016
ea8aad1
Merge pull request #1 from aksonov/master
cridenour Apr 17, 2016
aa74423
Bump example project dependency.
cridenour Apr 17, 2016
a3a6087
Merge branch 'jn-direction1' of github.com:joenoon/react-native-route…
cridenour Apr 17, 2016
1f2c98c
Cleanup styles and unused imports.
cridenour Apr 17, 2016
495c794
Remove optionals.
cridenour Apr 17, 2016
546c00c
Make sure panHandler can be passed as null.
cridenour Apr 17, 2016
6aac7bd
Actually run react-native upgrade.
cridenour Apr 17, 2016
ff69aaa
Document why we removed optionals.
cridenour Apr 17, 2016
d0ff592
Merge pull request #536 from cridenour/feature/react-native-24
aksonov Apr 18, 2016
55bb2d2
Revert "[WIP] Get Example app working with React 0.24+ "
aksonov Apr 18, 2016
f44d50c
Merge pull request #538 from aksonov/revert-536-feature/react-native-24
aksonov Apr 18, 2016
915d3a3
Revert "Revert "[WIP] Get Example app working with React 0.24+ ""
aksonov Apr 18, 2016
c4ea2f8
Merge pull request #539 from aksonov/revert-538-revert-536-feature/re…
aksonov Apr 18, 2016
5d12464
update redux instructions in README
lynndylanhurley Apr 18, 2016
61967e6
fix typo in readme
lynndylanhurley Apr 18, 2016
3be4fc6
Merge pull request #542 from lynndylanhurley/master
aksonov Apr 18, 2016
71f58a1
improve redux setup README
lynndylanhurley Apr 18, 2016
a8e383a
Merge pull request #543 from lynndylanhurley/master
aksonov Apr 18, 2016
a74ef41
Merge pull request #535 from Kerumen/patch-1
aksonov Apr 18, 2016
59821c3
publish new version
Apr 18, 2016
12f18a5
add render title callback
timzaak Apr 19, 2016
e278588
fix the comment
timzaak Apr 19, 2016
7e6d0ee
Merge pull request #547 from timzaak/renderTitle
aksonov Apr 19, 2016
2a5279b
Updated Actions values to a more standard format
mmazzarolo Apr 19, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Example/.buckconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

[android]
target = Google Inc.:Google APIs:23

[maven_repositories]
central = https://repo1.maven.org/maven2
9 changes: 8 additions & 1 deletion Example/.flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
# Ignore Website
.*/website/.*

# Ignore generators
.*/local-cli/generator.*

# Ignore BUCK generated folders
.*\.buckd/

.*/node_modules/is-my-json-valid/test/.*\.json
.*/node_modules/iconv-lite/encodings/tables/.*\.json
.*/node_modules/y18n/test/.*\.json
Expand All @@ -59,6 +65,7 @@
.*/node_modules/isemail/.*\.json
.*/node_modules/tr46/.*\.json


[include]

[libs]
Expand Down Expand Up @@ -86,4 +93,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-2]\\|1[0-9]\\|[0-9
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy

[version]
0.22.0
^0.22.0
6 changes: 6 additions & 0 deletions Example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,9 @@ local.properties
#
node_modules/
npm-debug.log

# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore
2 changes: 1 addition & 1 deletion Example/Example.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default class Example extends React.Component {
<Scene key="loginModal" component={Login} title="Login"/>
<Scene key="loginModal2" hideNavBar={true} component={Login2} title="Login2" panHandlers={null} duration={1}/>
</Scene>
<Scene key="tabbar" component={NavigationDrawer}>
<Scene key="tabbar" component={NavigationDrawer} panHandlers={null}>
<Scene key="main" tabs={true} >
<Scene key="tab1" title="Tab #1" icon={TabIcon} navigationBarStyle={{backgroundColor:"red"}} titleStyle={{color:"white"}}>
<Scene key="tab1_1" component={TabView} title="Tab #1_1" onRight={()=>alert("Right button")} rightTitle="Right" />
Expand Down
66 changes: 66 additions & 0 deletions Example/android/app/BUCK
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
import re

# To learn about Buck see [Docs](https://buckbuild.com/).
# To run your application with Buck:
# - install Buck
# - `npm start` - to start the packager
# - `cd android`
# - `cp ~/.android/debug.keystore keystores/debug.keystore`
# - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
# - `buck install -r android/app` - compile, install and run application
#

lib_deps = []
for jarfile in glob(['libs/*.jar']):
name = 'jars__' + re.sub(r'^.*/([^/]+)\.jar$', r'\1', jarfile)
lib_deps.append(':' + name)
prebuilt_jar(
name = name,
binary_jar = jarfile,
)

for aarfile in glob(['libs/*.aar']):
name = 'aars__' + re.sub(r'^.*/([^/]+)\.aar$', r'\1', aarfile)
lib_deps.append(':' + name)
android_prebuilt_aar(
name = name,
aar = aarfile,
)

android_library(
name = 'all-libs',
exported_deps = lib_deps
)

android_library(
name = 'app-code',
srcs = glob([
'src/main/java/**/*.java',
]),
deps = [
':all-libs',
':build_config',
':res',
],
)

android_build_config(
name = 'build_config',
package = 'com.example',
)

android_resource(
name = 'res',
res = 'src/main/res',
package = 'com.example',
)

android_binary(
name = 'app',
package_type = 'debug',
manifest = 'src/main/AndroidManifest.xml',
keystore = '//android/keystores:debug',
deps = [
':app-code',
],
)
11 changes: 9 additions & 2 deletions Example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import com.android.build.OutputFile
* cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
* bundle directly from the development server. Below you can see all the possible configurations
* and their defaults. If you decide to add a configuration block, make sure to add it before the
* `apply from: "react.gradle"` line.
* `apply from: "../../node_modules/react-native/react.gradle"` line.
*
* project.ext.react = [
* // the name of the generated asset file containing your JS bundle
Expand Down Expand Up @@ -59,7 +59,7 @@ import com.android.build.OutputFile
* ]
*/

apply from: "react.gradle"
apply from: "../../node_modules/react-native/react.gradle"

/**
* Set this to true to create two separate APKs instead of one:
Expand Down Expand Up @@ -124,3 +124,10 @@ dependencies {
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
4 changes: 2 additions & 2 deletions Example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
},
"dependencies": {
"react": "^0.14.7",
"react-native": "^0.22.2",
"react-native": "^0.24.0",
"react-native-button": "^1.2.1",
"react-native-drawer": "^1.16.7",
"react-native-drawer": "^2.0.0",
"react-native-modalbox": "^1.3.0",
"react-native-router-flux": "file:../"
}
Expand Down
Loading