Skip to content

Commit

Permalink
chore: Release v1.9.0 (#2848)
Browse files Browse the repository at this point in the history
chore: Release v1.9.0
  • Loading branch information
iamareebjamal authored Aug 1, 2019
2 parents f5ebd7a + 751a233 commit 247df34
Show file tree
Hide file tree
Showing 66 changed files with 473 additions and 923 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ cache:
- "$HOME/android/.gradle/caches/"
- "$HOME/android/.gradle/wrapper/"
- "$HOME/.android/build-cache"
- "${TRAVIS_BUILD_DIR}/cache"

before_install:
- mkdir "$ANDROID_HOME/licenses" || true
Expand All @@ -67,22 +68,21 @@ licenses:
- 'google-gdk-license-.+'

before_script:
- ./scripts/download_open_cv.sh
- ./scripts/setup_opencv.sh
- echo "Starting AVD"
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
- bash scripts/prep-key.sh

script:
- ./gradlew spotlessCheck
- ./scripts/copy_opencv.sh
- ./gradlew build
- ./gradlew build connectedAndroidTest jacocoTestReport --stacktrace

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

notifications:
Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
source "https://rubygems.org"

gem "danger"


gem "fastlane"
114 changes: 9 additions & 105 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
## Screenshots

<p float="left">
<img src="./docs/images/ss_1.png" width="288" />
<img src="./docs/images/ss_2.png" width="288" />
<img src="./docs/images/ss_3.png" width="288" />
<img src="./docs/images/ss_4.png" width="288" />
<img src="./docs/images/ss_5.png" width="288" />
<img src="./docs/images/ss_6.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_1.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_2.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_3.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_4.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_5.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_6.png" width="288" />
</p>


Expand Down Expand Up @@ -108,6 +108,7 @@ Before you begin, you should have already downloaded the Android Studio SDK and
- 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)
- 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)
- 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)
- 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)
- 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.

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.
Expand All @@ -128,102 +129,5 @@ Before you begin, you should have already downloaded the Android Studio SDK and

## License

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/).

## Maintainers
The project is maintained by
- Hon Nguyen ([@vanhonit](https://github.com/vanhonit))
- Mario Behling ([@mariobehling](http://github.com/mariobehling))

## Developers
<table border="0">
<tr>
<td width="240">
<p align="center">
<img src="https://avatars2.githubusercontent.com/u/20367966?v=4&s=150" />
</p>
<div align="center">
Anant Prasad
</div>
<p align="center">
<a href = "https://github.com/anantprsd5"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/Anantprasad3"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
<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>
</p>
</td>

<td width="240">
<p align="center">
<img src="https://avatars0.githubusercontent.com/u/9361754?v=4&s=150"/>
</p>
<div align="center">
Mohit Manuja
</div>
<p align="center">
<a href = "https://github.com/mohitmanuja"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/manuja_mohit"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
<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>
</p>
</td>

<td width="240">
<p align="center">
<img src="https://avatars1.githubusercontent.com/u/6936968?v=4&s=150" />
</p>
<div align="center">
Pawan Pal
</div>
<p align="center">
<a href = "https://github.com/pa1pal"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/pa1pal"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
<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>
</p>
</td>

<td width="240">
<p align="center">
<img src="https://avatars0.githubusercontent.com/u/17337006?v=4&s=150" />
</p>
<div align="center">
Subhankar Shah
</div>

<p align="center">
<a href = "https://github.com/Subhankar29"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/sole_subhankar"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
<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>
</p>
</td>
</tr>

<tr>
<td width="240">
<p align="center">
<img src="https://avatars2.githubusercontent.com/u/15368561?v=4&s=150" />
</p>
<div align="center">
Vinay Sajjanapu
</div>
<p align="center">
<a href = "https://github.com/vinaysajjanapu"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/sajjanapu_vinay"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
<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>
</p>
</td>

<td width="240">
<p align="center">
<img src="https://avatars1.githubusercontent.com/u/20841578?s=150&u=ccf2c85bac58c92f69c4c69ce2c46dcee4564e23&v=4" />
</p>
<div align="center">
Saurav Vishal
</div>

<p align="center">
<a href = "https://github.com/sauravvishal8797"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/vishal_saurav99"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
<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>
</p>
</td>
</tr>
</table>
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/).

46 changes: 34 additions & 12 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ plugins {
apply plugin: 'com.android.application'
apply plugin: 'jacoco-android'
apply plugin: 'realm-android'
apply plugin: "com.github.b3er.local.properties"

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

def keystoreProperties = new Properties()

def LOCAL_KEY_PRESENT = project.hasProperty('SIGNING_KEY_FILE') && rootProject.file(SIGNING_KEY_FILE).exists()

keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

android {
Expand All @@ -29,8 +32,8 @@ android {
applicationId "org.fossasia.phimpme"
minSdkVersion 21
targetSdkVersion 28
versionCode 11
versionName '1.8.0'
versionCode 12
versionName '1.9.0'
multiDexEnabled true
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
vectorDrawables.useSupportLibrary = true
Expand All @@ -42,12 +45,31 @@ android {
renderscriptSupportModeEnabled true
}

signingConfigs {
if (TRAVIS_BUILD) {
release {
storeFile KEYSTORE_FILE
storePassword System.getenv("STORE_PASS")
keyAlias System.getenv("ALIAS")
keyPassword System.getenv("KEY_PASS")
}
} else if (LOCAL_KEY_PRESENT) {
release {
storeFile rootProject.file(SIGNING_KEY_FILE)
storePassword STORE_PASS
keyAlias ALIAS
keyPassword KEY_PASS
}
}
}

buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'


if (LOCAL_KEY_PRESENT || TRAVIS_BUILD)
signingConfig signingConfigs.release
}
debug {
testCoverageEnabled false
Expand Down Expand Up @@ -166,10 +188,13 @@ dependencies {
implementation 'com.github.shchurov:horizontalwheelview:0.9.5'
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'

//photoview
implementation 'com.github.chrisbanes:PhotoView:1.2.6'

//twitter
implementation "com.twitter.sdk.android:twitter:$rootProject.twitterVersion"
implementation files('libs/twitter4j-core-3.0.5.jar')
implementation files('libs/twitter4j-media-support-3.0.5.jar')
implementation "org.twitter4j:twitter4j-core:3.0.5"
implementation "org.twitter4j:twitter4j-media-support:3.0.5"

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

//flickr
implementation files('libs/flickrj-android-2.1.0.jar')

//tumblr
implementation('com.tumblr:jumblr:0.0.11') {
exclude module: 'scribe'
}

//flickr
implementation "com.googlecode.flickrj-android:flickrj-android:2.1.0"

//realm
implementation 'com.uphyca:stetho_realm:2.0.0'

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

//pdk
implementation project(':pdk')

//photoview
implementation project(':photoview')
implementation 'com.github.forkerknights:android-pdk:1.2b'

//compressor
implementation 'id.zelory:compressor:2.1.0'
Expand Down
55 changes: 0 additions & 55 deletions app/google-services.json

This file was deleted.

Binary file removed app/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions app/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

Loading

0 comments on commit 247df34

Please sign in to comment.