Skip to content

Commit d54d655

Browse files
committed
moved re-frame app to root folder
Former-commit-id: 5a3b923
1 parent 95f2316 commit d54d655

File tree

189 files changed

+212
-5027
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+212
-5027
lines changed

.gitignore

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ project.xcworkspace
2525
# Android/IJ
2626
#
2727
.idea
28-
.gradle/
28+
.gradle
2929
local.properties
3030

3131
# node.js
@@ -41,9 +41,4 @@ target/
4141

4242
# Figwheel
4343
#
44-
figwheel_server.log
45-
.nrepl-port
46-
47-
# Mercurial
48-
.hg/
49-
.hgignore
44+
figwheel_server.log

.re-natal

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
{
2-
"name": "Messenger",
3-
"interface": "om-next",
4-
"androidHost": "localhost",
2+
"name": "SyngIm",
3+
"interface": "reagent",
4+
"androidHost": "10.0.3.2",
55
"modules": [
66
"react-native-contacts",
77
"react-native-invertible-scroll-view",
88
"awesome-phonenumber",
99
"realm",
1010
"react-native-loading-spinner-overlay",
11-
"react-native-i18n"
11+
"react-native-i18n",
12+
"realm/react-native",
13+
"react-native-action-button",
14+
"react-native-vector-icons/Ionicons",
15+
"react-native-circle-checkbox",
16+
"react-native-randombytes"
1217
],
1318
"imageDirs": [
1419
"images"
15-
],
16-
"iosHost": "localhost"
20+
]
1721
}

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. This change
55
### Changed
66
- Add a new arity to `make-widget-async` to provide a different widget shape.
77

8-
## [0.1.1] - 2016-02-21
8+
## [0.1.1] - 2016-03-23
99
### Changed
1010
- Documentation on how to make the widgets.
1111

@@ -15,10 +15,10 @@ All notable changes to this project will be documented in this file. This change
1515
### Fixed
1616
- Fixed widget maker to keep working when daylight savings switches over.
1717

18-
## 0.1.0 - 2016-02-21
18+
## 0.1.0 - 2016-03-23
1919
### Added
2020
- Files from the new template.
2121
- Widget maker public API - `make-widget-sync`.
2222

23-
[unreleased]: https://github.com/your-name/messenger/compare/0.1.1...HEAD
24-
[0.1.1]: https://github.com/your-name/messenger/compare/0.1.0...0.1.1
23+
[unreleased]: https://github.com/your-name/syng-im/compare/0.1.1...HEAD
24+
[0.1.1]: https://github.com/your-name/syng-im/compare/0.1.0...0.1.1

README.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
1-
# messenger
1+
# syng-im
22

3-
## Setup
3+
A Clojure library designed to ... well, that part is up to you.
44

5-
https://github.com/drapanjanas/re-natal
5+
## Usage
66

7+
FIXME
78

8-
Can be required after pulling changes:
9+
## License
910

10-
switching between android device
11+
Copyright © 2016 FIXME
1112

12-
https://github.com/drapanjanas/re-natal#switching-between-android-devices
13-
14-
15-
Change `server-address` value at `/src/messenger/android/utils.cljs`
16-
17-
## Issues
18-
19-
`Requiring unknown module "react"`
20-
21-
Solution: https://github.com/exponentjs/react-native-invertible-scroll-view/issues/20
13+
Distributed under the Eclipse Public License either version 1.0 or (at
14+
your option) any later version.

android/Messenger.iml

Lines changed: 0 additions & 19 deletions
This file was deleted.

android/app/app.iml

Lines changed: 0 additions & 117 deletions
This file was deleted.

android/app/build.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ import com.android.build.OutputFile
2626
*
2727
* // whether to bundle JS and assets in another build variant (if configured).
2828
* // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
29-
* // The configuration property can be in the following formats
30-
* // 'bundleIn${productFlavor}${buildType}'
31-
* // 'bundleIn${buildType}'
29+
* // The configuration property is in the format 'bundleIn${productFlavor}${buildType}'
3230
* // bundleInFreeDebug: true,
3331
* // bundleInPaidRelease: true,
3432
* // bundleInBeta: true,
@@ -62,7 +60,8 @@ import com.android.build.OutputFile
6260
apply from: "react.gradle"
6361

6462
/**
65-
* Set this to true to create two separate APKs instead of one:
63+
* Set this to true to create three separate APKs instead of one:
64+
* - A universal APK that works on all devices
6665
* - An APK that only works on ARM devices
6766
* - An APK that only works on x86 devices
6867
* The advantage is the size of the APK is reduced by about 4MB.
@@ -81,7 +80,7 @@ android {
8180
buildToolsVersion "23.0.1"
8281

8382
defaultConfig {
84-
applicationId "com.messenger"
83+
applicationId "com.syngim"
8584
minSdkVersion 16
8685
targetSdkVersion 22
8786
versionCode 1
@@ -92,9 +91,9 @@ android {
9291
}
9392
splits {
9493
abi {
95-
reset()
9694
enable enableSeparateBuildPerCPUArchitecture
97-
universalApk false // If true, also generate a universal APK
95+
universalApk false
96+
reset()
9897
include "armeabi-v7a", "x86"
9998
}
10099
}
@@ -120,6 +119,9 @@ android {
120119
}
121120

122121
dependencies {
122+
compile project(':randombytes')
123+
compile project(':realm')
124+
compile project(':react-native-vector-icons')
123125
compile fileTree(dir: "libs", include: ["*.jar"])
124126
compile "com.android.support:appcompat-v7:23.0.1"
125127
compile "com.facebook.react:react-native:+" // From node_modules
@@ -128,6 +130,5 @@ dependencies {
128130
// compile(name:'geth', ext:'aar')
129131
compile(group: 'syng-im', name: 'android-geth', version: '1.4.0-201603131817-92d65cf', ext: 'aar')
130132

131-
compile project(":realm")
132133
compile fileTree(dir: "node_modules/realm/android/libs", include: ["*.jar"])
133134
}

android/app/react.gradle

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,21 @@ gradle.projectsEvaluated {
3030

3131
productFlavors.each { productFlavorName ->
3232
buildTypes.each { buildTypeName ->
33-
// Create variant and target names
34-
def targetName = "${productFlavorName.capitalize()}${buildTypeName.capitalize()}"
35-
def targetPath = productFlavorName ?
36-
"${productFlavorName}/${buildTypeName}" :
37-
"${buildTypeName}"
33+
// Create variant and source names
34+
def sourceName = "${buildTypeName}"
35+
def targetName = "${sourceName.capitalize()}"
36+
if (productFlavorName) {
37+
sourceName = "${productFlavorName}${targetName}"
38+
}
3839

3940
// React js bundle directories
4041
def jsBundleDirConfigName = "jsBundleDir${targetName}"
4142
def jsBundleDir = elvisFile(config."$jsBundleDirConfigName") ?:
42-
file("$buildDir/intermediates/assets/${targetPath}")
43+
file("$buildDir/intermediates/assets/${sourceName}")
4344

4445
def resourcesDirConfigName = "jsBundleDir${targetName}"
4546
def resourcesDir = elvisFile(config."${resourcesDirConfigName}") ?:
46-
file("$buildDir/intermediates/res/merged/${targetPath}")
47+
file("$buildDir/intermediates/res/merged/${sourceName}")
4748
def jsBundleFile = file("$jsBundleDir/$bundleAssetName")
4849

4950
// Bundle task name for variant
@@ -79,9 +80,7 @@ gradle.projectsEvaluated {
7980
"--entry-file", entryFile, "--bundle-output", jsBundleFile, "--assets-dest", resourcesDir
8081
}
8182

82-
enabled config."bundleIn${targetName}" ||
83-
config."bundleIn${buildTypeName.capitalize()}" ?:
84-
targetName.toLowerCase().contains("release")
83+
enabled config."bundleIn${targetName}" ?: targetName.toLowerCase().contains("release")
8584
}
8685

8786
// Hook bundle${productFlavor}${buildType}JsAndAssets into the android build process

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.messenger">
2+
package="com.syngim">
33

44
<uses-permission android:name="android.permission.INTERNET" />
55
<uses-permission android:name="android.permission.READ_CONTACTS" />
File renamed without changes.

0 commit comments

Comments
 (0)