Skip to content

Commit 247df34

Browse files
chore: Release v1.9.0 (#2848)
chore: Release v1.9.0
2 parents f5ebd7a + 751a233 commit 247df34

Some content is hidden

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

66 files changed

+473
-923
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ cache:
4444
- "$HOME/android/.gradle/caches/"
4545
- "$HOME/android/.gradle/wrapper/"
4646
- "$HOME/.android/build-cache"
47+
- "${TRAVIS_BUILD_DIR}/cache"
4748

4849
before_install:
4950
- mkdir "$ANDROID_HOME/licenses" || true
@@ -67,22 +68,21 @@ licenses:
6768
- 'google-gdk-license-.+'
6869

6970
before_script:
70-
- ./scripts/download_open_cv.sh
71+
- ./scripts/setup_opencv.sh
7172
- echo "Starting AVD"
7273
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
7374
- emulator -avd test -no-audio -no-window &
7475
- android-wait-for-emulator
7576
- adb shell input keyevent 82 &
77+
- bash scripts/prep-key.sh
7678

7779
script:
7880
- ./gradlew spotlessCheck
79-
- ./scripts/copy_opencv.sh
8081
- ./gradlew build
8182
- ./gradlew build connectedAndroidTest jacocoTestReport --stacktrace
8283

8384
after_success:
8485
- bash <(curl -s https://codecov.io/bash)
85-
- bash scripts/prep-key.sh
8686
- bash scripts/update-apk.sh
8787

8888
notifications:

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
source "https://rubygems.org"
33

44
gem "danger"
5+
6+
7+
gem "fastlane"

README.md

Lines changed: 9 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
## Screenshots
1515

1616
<p float="left">
17-
<img src="./docs/images/ss_1.png" width="288" />
18-
<img src="./docs/images/ss_2.png" width="288" />
19-
<img src="./docs/images/ss_3.png" width="288" />
20-
<img src="./docs/images/ss_4.png" width="288" />
21-
<img src="./docs/images/ss_5.png" width="288" />
22-
<img src="./docs/images/ss_6.png" width="288" />
17+
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_1.png" width="288" />
18+
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_2.png" width="288" />
19+
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_3.png" width="288" />
20+
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_4.png" width="288" />
21+
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_5.png" width="288" />
22+
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_6.png" width="288" />
2323
</p>
2424

2525

@@ -108,6 +108,7 @@ Before you begin, you should have already downloaded the Android Studio SDK and
108108
- Copy all the files from *"OpenCV-android-sdk/sdk/native/3rdparty"* to *"phimpme-android/app/src/main/3rdparty"* (create directory if it doesn't exist)
109109
- Copy all the files from *"OpenCV-android-sdk/sdk/native/libs"* to *"phimpme-android/app/src/main/jniLibs"* (create directory if it doesn't exist)
110110
- Copy all the files from *"OpenCV-android-sdk/sdk/native/jni/include"* to *"phimpme-android/app/src/main/jni/include"* (create directory if it doesn't exist)
111+
- Copy all the files from *"OpenCV-android-sdk/sdk/native/jni/staticlibs"* to *"phimpme-android/app/src/main/staticlibs"* (create directory if it doesn't exist)
111112
- Now build your project. If your build fails then try deleting these build directories *"phimpme-android/app/.externalNativeBuild"* and *"phimpme-android/app/build"*, if they exist and run the build again.
112113

113114
7. If build error still persist, try replacing ndk with ndk version 18b from [ndk-archives](https://developer.android.com/ndk/downloads/older_releases) . Once all build errors have been resolved, you should be all set to build the app and test it.
@@ -128,102 +129,5 @@ Before you begin, you should have already downloaded the Android Studio SDK and
128129

129130
## License
130131

131-
This project is currently licensed under the GNU General Public License v3. A copy of [LICENSE](LICENSE.md) is to be present along with the source code. To obtain the software under a different license, please contact [FOSSASIA](http://fossasia.org/).
132-
133-
## Maintainers
134-
The project is maintained by
135-
- Hon Nguyen ([@vanhonit](https://github.com/vanhonit))
136-
- Mario Behling ([@mariobehling](http://github.com/mariobehling))
137-
138-
## Developers
139-
<table border="0">
140-
<tr>
141-
<td width="240">
142-
<p align="center">
143-
<img src="https://avatars2.githubusercontent.com/u/20367966?v=4&s=150" />
144-
</p>
145-
<div align="center">
146-
Anant Prasad
147-
</div>
148-
<p align="center">
149-
<a href = "https://github.com/anantprsd5"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
150-
<a href = "https://twitter.com/Anantprasad3"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
151-
<a href = "https://www.linkedin.com/in/anant-prasad-82b7a2119/"><img src = "./docs/images/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
152-
</p>
153-
</td>
154-
155-
<td width="240">
156-
<p align="center">
157-
<img src="https://avatars0.githubusercontent.com/u/9361754?v=4&s=150"/>
158-
</p>
159-
<div align="center">
160-
Mohit Manuja
161-
</div>
162-
<p align="center">
163-
<a href = "https://github.com/mohitmanuja"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
164-
<a href = "https://twitter.com/manuja_mohit"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
165-
<a href = "https://www.linkedin.com/in/mohitmanuja/"><img src = "./docs/images/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
166-
</p>
167-
</td>
168-
169-
<td width="240">
170-
<p align="center">
171-
<img src="https://avatars1.githubusercontent.com/u/6936968?v=4&s=150" />
172-
</p>
173-
<div align="center">
174-
Pawan Pal
175-
</div>
176-
<p align="center">
177-
<a href = "https://github.com/pa1pal"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
178-
<a href = "https://twitter.com/pa1pal"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
179-
<a href = "https://www.linkedin.com/in/pa1pal/"><img src = "./docs/images/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
180-
</p>
181-
</td>
182-
183-
<td width="240">
184-
<p align="center">
185-
<img src="https://avatars0.githubusercontent.com/u/17337006?v=4&s=150" />
186-
</p>
187-
<div align="center">
188-
Subhankar Shah
189-
</div>
190-
191-
<p align="center">
192-
<a href = "https://github.com/Subhankar29"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
193-
<a href = "https://twitter.com/sole_subhankar"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
194-
<a href = "https://www.linkedin.com/in/subhankar-shah-12245b130/"><img src = "./docs/images/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
195-
</p>
196-
</td>
197-
</tr>
198-
199-
<tr>
200-
<td width="240">
201-
<p align="center">
202-
<img src="https://avatars2.githubusercontent.com/u/15368561?v=4&s=150" />
203-
</p>
204-
<div align="center">
205-
Vinay Sajjanapu
206-
</div>
207-
<p align="center">
208-
<a href = "https://github.com/vinaysajjanapu"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
209-
<a href = "https://twitter.com/sajjanapu_vinay"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
210-
<a href = "https://www.linkedin.com/in/vinay-sajjanapu-a315ab21/"><img src = "./docs/images/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
211-
</p>
212-
</td>
213-
214-
<td width="240">
215-
<p align="center">
216-
<img src="https://avatars1.githubusercontent.com/u/20841578?s=150&u=ccf2c85bac58c92f69c4c69ce2c46dcee4564e23&v=4" />
217-
</p>
218-
<div align="center">
219-
Saurav Vishal
220-
</div>
221-
222-
<p align="center">
223-
<a href = "https://github.com/sauravvishal8797"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
224-
<a href = "https://twitter.com/vishal_saurav99"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
225-
<a href = "https://www.linkedin.com/in/saurav-vishal-517aab144/"><img src = "./docs/images/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
226-
</p>
227-
</td>
228-
</tr>
229-
</table>
132+
This project is currently licensed under the GNU General Public License v3. A copy of [LICENSE](LICENSE.md) is to be present along with the source code. To obtain the software under a different license, please contact [FOSSASIA](https://fossasia.org/).
133+

app/build.gradle

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@ plugins {
1414
apply plugin: 'com.android.application'
1515
apply plugin: 'jacoco-android'
1616
apply plugin: 'realm-android'
17+
apply plugin: "com.github.b3er.local.properties"
1718

1819
def keystorePropertiesFile = rootProject.file("sample_keystore.properties")
1920

2021
def keystoreProperties = new Properties()
2122

23+
def LOCAL_KEY_PRESENT = project.hasProperty('SIGNING_KEY_FILE') && rootProject.file(SIGNING_KEY_FILE).exists()
24+
2225
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
2326

2427
android {
@@ -29,8 +32,8 @@ android {
2932
applicationId "org.fossasia.phimpme"
3033
minSdkVersion 21
3134
targetSdkVersion 28
32-
versionCode 11
33-
versionName '1.8.0'
35+
versionCode 12
36+
versionName '1.9.0'
3437
multiDexEnabled true
3538
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
3639
vectorDrawables.useSupportLibrary = true
@@ -42,12 +45,31 @@ android {
4245
renderscriptSupportModeEnabled true
4346
}
4447

48+
signingConfigs {
49+
if (TRAVIS_BUILD) {
50+
release {
51+
storeFile KEYSTORE_FILE
52+
storePassword System.getenv("STORE_PASS")
53+
keyAlias System.getenv("ALIAS")
54+
keyPassword System.getenv("KEY_PASS")
55+
}
56+
} else if (LOCAL_KEY_PRESENT) {
57+
release {
58+
storeFile rootProject.file(SIGNING_KEY_FILE)
59+
storePassword STORE_PASS
60+
keyAlias ALIAS
61+
keyPassword KEY_PASS
62+
}
63+
}
64+
}
65+
4566
buildTypes {
4667
release {
4768
minifyEnabled true
4869
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
4970

50-
71+
if (LOCAL_KEY_PRESENT || TRAVIS_BUILD)
72+
signingConfig signingConfigs.release
5173
}
5274
debug {
5375
testCoverageEnabled false
@@ -166,10 +188,13 @@ dependencies {
166188
implementation 'com.github.shchurov:horizontalwheelview:0.9.5'
167189
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
168190

191+
//photoview
192+
implementation 'com.github.chrisbanes:PhotoView:1.2.6'
193+
169194
//twitter
170195
implementation "com.twitter.sdk.android:twitter:$rootProject.twitterVersion"
171-
implementation files('libs/twitter4j-core-3.0.5.jar')
172-
implementation files('libs/twitter4j-media-support-3.0.5.jar')
196+
implementation "org.twitter4j:twitter4j-core:3.0.5"
197+
implementation "org.twitter4j:twitter4j-media-support:3.0.5"
173198

174199
//cloud rail
175200
implementation 'com.cloudrail:cloudrail-si-android:2.20.1'
@@ -181,14 +206,14 @@ dependencies {
181206
debugImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
182207
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
183208

184-
//flickr
185-
implementation files('libs/flickrj-android-2.1.0.jar')
186-
187209
//tumblr
188210
implementation('com.tumblr:jumblr:0.0.11') {
189211
exclude module: 'scribe'
190212
}
191213

214+
//flickr
215+
implementation "com.googlecode.flickrj-android:flickrj-android:2.1.0"
216+
192217
//realm
193218
implementation 'com.uphyca:stetho_realm:2.0.0'
194219

@@ -203,10 +228,7 @@ dependencies {
203228
implementation project(':openCV')
204229

205230
//pdk
206-
implementation project(':pdk')
207-
208-
//photoview
209-
implementation project(':photoview')
231+
implementation 'com.github.forkerknights:android-pdk:1.2b'
210232

211233
//compressor
212234
implementation 'id.zelory:compressor:2.1.0'

app/google-services.json

Lines changed: 0 additions & 55 deletions
This file was deleted.
-52.4 KB
Binary file not shown.

app/gradle/wrapper/gradle-wrapper.properties

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

0 commit comments

Comments
 (0)