Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
7584617
feat:improve word book and fix so many bug
maoruibin Feb 11, 2017
51e42d6
Merge pull request #36 from maoruibin/develop
maoruibin Feb 11, 2017
e17acf2
fix:repeat show word's explain bug
maoruibin Feb 12, 2017
1f63b96
dox:update change log add link for bolg and changelog
maoruibin Feb 12, 2017
3bc8b06
doc:update readme file and travis
maoruibin Feb 12, 2017
81581c8
doc:add link for custom process text
maoruibin Feb 12, 2017
0a4b7cd
Merge pull request #37 from maoruibin/develop
maoruibin Feb 12, 2017
4b76c4c
doc:update image path for gif
maoruibin Feb 12, 2017
7e47d08
Merge pull request #39 from maoruibin/develop
maoruibin Feb 12, 2017
16f4ed3
Rename License.txt to LICENSE_.txt
maoruibin Feb 13, 2017
5f9cf55
Rename LICENSE_.txt to LICENSE.txt
maoruibin Feb 13, 2017
a778e77
Update README.md
maoruibin Feb 15, 2017
8c23a0d
#narakai: fix one spelling
Feb 18, 2017
33858d8
Merge pull request #41 from narakai/develop
maoruibin Feb 19, 2017
ca7916b
1.给单词本添加发音功能
LostKe Feb 21, 2017
01f13cf
temp
maoruibin Feb 21, 2017
8eddeec
Merge branch 'develop' of https://github.com/maoruibin/TranslateApp i…
maoruibin Feb 21, 2017
9efa55e
Merge pull request #42 from LostKe/master
maoruibin Feb 22, 2017
5a2bb5c
Merge pull request #43 from maoruibin/develop
maoruibin Feb 22, 2017
ef7d7ea
`Merge branch 'develop' of https://github.com/maoruibin/TranslateApp …
maoruibin Feb 22, 2017
aa3171f
fix:make sound icon small
maoruibin Feb 22, 2017
9962ee3
add google translate
LevineLiu Feb 22, 2017
0df5b22
Merge remote-tracking branch 'origin/develop' into develop
LevineLiu Feb 22, 2017
d928260
Merge pull request #44 from LevineLiu/develop
maoruibin Feb 22, 2017
f3b1d4f
fix:in tip mode google translate error and update change log
maoruibin Feb 22, 2017
cf3befe
update gradle version to 2.3 and fix share words bug
maoruibin Mar 4, 2017
e8cef55
upgrad build version to 25.0.2
maoruibin Mar 12, 2017
6581d60
fix count logic for cycle words and make click area bigger for sound …
maoruibin Mar 12, 2017
e61fb20
update change log
maoruibin Mar 12, 2017
1a82754
fix order for cycle
maoruibin Mar 16, 2017
12fe49a
adjust translat result style
maoruibin Mar 16, 2017
0da919c
fix ui
maoruibin Mar 16, 2017
6f40c3c
cfg:update
maoruibin Apr 2, 2017
20f9afd
add word count
maoruibin Apr 2, 2017
fe86af9
remove:headup
maoruibin Apr 2, 2017
a05c605
fix npe for mView.onError
maoruibin Apr 2, 2017
6945ade
npe:fix mView
maoruibin Apr 2, 2017
15fbe0c
fix:activity not found error
maoruibin Apr 2, 2017
f4f33fd
fix:npe for process text
maoruibin Apr 2, 2017
5cac820
fix:add source tip when error
maoruibin Apr 2, 2017
aa91f99
doc:update change log
maoruibin Apr 2, 2017
795507c
fix:lost words explain for google
maoruibin Apr 2, 2017
df2655e
fmt:only code change
maoruibin Apr 2, 2017
53c2711
doc update changlelog
maoruibin Apr 2, 2017
0252cc8
cfg:update version
maoruibin Apr 5, 2017
47139c7
Merge pull request #47 from maoruibin/develop
maoruibin Apr 5, 2017
9bfd19a
doc:update readme
maoruibin Apr 5, 2017
6bf4427
Merge pull request #48 from maoruibin/develop
maoruibin Apr 5, 2017
8919e6c
Update ApiServiceModel.java
kymjs Apr 13, 2017
5393111
Merge pull request #49 from kymjs/patch-1
maoruibin Apr 13, 2017
059ca03
add end char
maoruibin Apr 17, 2017
5114165
Update ApiServiceModel.java
kymjs Apr 19, 2017
7b671b1
Update ListenClipboardService.java
kymjs Apr 19, 2017
fde6013
Merge pull request #51 from kymjs/patch-2
maoruibin Apr 19, 2017
ec5a4a8
Merge pull request #50 from kymjs/patch-3
maoruibin Apr 19, 2017
6e9eeea
update readme and doc
maoruibin May 3, 2017
9be9c2d
Merge branch 'master' of https://github.com/maoruibin/TranslateApp in…
maoruibin May 3, 2017
61172b7
Merge pull request #52 from maoruibin/develop
maoruibin May 3, 2017
1d8397d
Add AutoComplete Feature
Jun 2, 2017
a6de3db
Fix NPE
Jun 2, 2017
85f3c0f
AutoCompleteTextView dismissDropDown when KeyEvent == KEYCODE_ENTER
Jun 2, 2017
dddb469
Merge pull request #53 from 70kg/develop
maoruibin Jun 3, 2017
83eec8d
del:删除了通知栏自定义设置的功能
maoruibin Aug 20, 2017
babd1cb
Merge branch 'develop' of https://github.com/maoruibin/TranslateApp i…
maoruibin Aug 20, 2017
4753280
release:1.7.1
maoruibin Aug 20, 2017
580fcc2
Merge pull request #54 from maoruibin/develop
maoruibin Aug 20, 2017
e1ac0ae
bug:fix crash
maoruibin Aug 24, 2017
a016149
Merge branch 'master' of https://github.com/maoruibin/TranslateApp in…
maoruibin Oct 24, 2017
df8f4e2
feat:add about page and link apps
maoruibin Oct 25, 2017
f711ce3
res:add chinese
maoruibin Oct 25, 2017
462c5e8
add three duration
Oct 26, 2017
a2bff8d
fix release
Oct 30, 2017
ff95eaa
release 1.7.4
Nov 2, 2017
3646ca7
Merge pull request #57 from maoruibin/develop
maoruibin Nov 5, 2017
27a334b
fix bug
maoruibin Nov 5, 2017
80c491c
fix android O bug
Dec 21, 2017
87155a4
fix conflict
Dec 21, 2017
b1920fb
Update README.md
maoruibin Jan 5, 2018
d3c9103
feat:增加历史记录
Feb 3, 2018
338c2ba
feat:增加 Fabric 统计
Feb 3, 2018
2a2a953
feat:增加滑动返回功能
Feb 3, 2018
992e28c
fix:修复空白记录的bug 以及删除历史记录不生效的 bug
Feb 3, 2018
eea8356
doc:增加更新日志
Feb 3, 2018
431f88f
cfg: 更新版本号
Feb 3, 2018
c55fb33
try target to 26 fail
Feb 5, 2018
84486c8
cfg: 更新配置信息
Feb 7, 2018
e796110
fix: 修复了 NPE 增加事件统计
maoruibin Feb 7, 2018
8dc2e15
fix: 完善了事件统计
maoruibin Feb 7, 2018
4b7a840
cfg: 增加春节彩蛋
Feb 11, 2018
ae2bfbf
feature:添加 自动完成单词的开关 @70kg
Feb 11, 2018
6824c66
feature:update about
Feb 11, 2018
cd61606
feature:完善彩蛋时间控制
Feb 11, 2018
be859e3
doc:update readme and prepre release 180
Feb 11, 2018
1d245e5
cfg:update travis cfg
Feb 11, 2018
1cf1436
update version
Feb 11, 2018
053169e
Merge pull request #59 from maoruibin/develop
maoruibin Mar 9, 2018
6a172ec
opt: add advance user
maoruibin Mar 27, 2018
02696dd
Set theme jekyll-theme-cayman
maoruibin Mar 31, 2018
4c5b184
Create index.html
maoruibin Mar 31, 2018
8998659
add docs
Mar 31, 2018
308ce38
Update build.gradle
maoruibin Aug 24, 2018
27a4205
fix:remove baidu
maoruibin Aug 24, 2018
3e6ac49
cfg:release 182
maoruibin Aug 24, 2018
59da8c0
Merge branch 'master' into develop
maoruibin Aug 24, 2018
c6d866d
Merge pull request #63 from maoruibin/develop
maoruibin Aug 24, 2018
8a5d8bc
opt: remove baidu
maoruibin Aug 24, 2018
911d0f5
cfg:upgrade version
maoruibin Aug 24, 2018
b44998d
Merge pull request #64 from maoruibin/develop
maoruibin Aug 24, 2018
6d7d7ff
opt:translation way opt
maoruibin Aug 24, 2018
acf36ff
Merge pull request #65 from maoruibin/develop
maoruibin Aug 24, 2018
eeefb57
check DrawOverlays permission before use it
PinkD Sep 15, 2018
dc753ac
remove KEY_DRAW_OVERLAYS_PERMISSION from sf
PinkD Sep 15, 2018
be52821
Merge pull request #67 from PinkD/master
maoruibin Sep 16, 2018
a87c3e0
Update README.md
maoruibin Oct 27, 2019
cdf11a7
Update README.md
maoruibin Dec 11, 2019
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
*.iml
.gradle
/local.properties
/gradle.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
Expand Down
38 changes: 26 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,35 @@
sudo: false

language: android
jdk: oraclejdk8

android:
components:

- tools

- build-tools-23.0.2
- android-24
# support lib
- tools # to get the new `repository-11.xml`
- tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
- platform-tools
- build-tools-26.0.2
- android-26
- extra-google-m2repository
- extra-android-m2repository
- extra-android-support
licenses:
- android-sdk-license-.+
- android-sdk-preview-license-.+
- google-gdk-license-.+

# Emulator Management: Create, Start and Wait
before_script:
- echo no | android create avd --force -n test -t android-26 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- touch bintray.properties

script:
- ./gradlew clean assembleRelease --stacktrace
- android-wait-for-emulator
- adb shell input keyevent 82

before_install:
- chmod +x gradlew
notifications:
email:
- gudong.name@gmail.com
#
#cache:
# directories:
# - $HOME/.m2
# - $HOME/.gradle
19 changes: 19 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

##License

Copyright (C) 2015 GuDong <gudong.name@gmail.com>

This file is part of GdTranslate

GdTranslate is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GdTranslate is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GdTranslate. If not, see <http://www.gnu.org/licenses/>.
85 changes: 29 additions & 56 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
#咕咚翻译
# 咕咚翻译
![icon](/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png "")

[![Build Status](https://travis-ci.org/maoruibin/TranslateApp.svg?branch=master)](https://travis-ci.org/maoruibin/TranslateApp)

##介绍
## 介绍
一个实现『划词翻译』功能的 Android 应用 ,可能是目前 Android 市场上翻译效率最高的一款应用。

![shot](http://7xr9gx.com1.z0.glb.clouddn.com/gd.gif)
![shot](https://upload-images.jianshu.io/upload_images/588640-bb21211def7c14a3.gif?imageMogr2/auto-orient/strip|imageView2/2/w/393/format/webp)

## 待完成功能
* 单词显示框支持沉浸式,覆盖状态栏显示。
* 单词发音
* 使用 Github 做自动更新
* 不支持谷歌翻译,如果有人有兴趣添加谷歌,必应翻译,欢迎PR。
* ~~显示单词信息时增加音标~~
* ~~生词本为空时的提示信息~~

`Note:`想要参与贡献代码的同学,请在 develop 分支上操作,欢迎参与,可以提前在 issue 中交流自己要修改的功能模块,同时也欢迎来[Google+社区](https://plus.google.com/u/1/communities/111919086388322816251)一起讨论 咕咚翻译。

##下载
## 下载

<a href="https://play.google.com/store/apps/details?id=name.gudong.translate" target="_blank" alt="Google Paly"><img src="http://7xr9gx.com1.z0.glb.clouddn.com/icon_google_play_brand.png"/></a>

Expand All @@ -28,7 +20,7 @@

如果想要帮助做内部测试,[欢迎来Google+社区](https://plus.google.com/u/1/communities/111919086388322816251)我会把最新的版本放在 Google+社区。

##缘起
## 缘起
自己经常在手机上会阅读一些英文的技术 blog 或者文档,经常会遇到陌生的单词,想必大家都有类似的经历,一般的,如果是上班期间,我可能会打开谷歌翻译,然后查词,但是当你不在电脑旁,就只能通过手机上的翻译软件来翻译生词,所以这时我们通常遇到生词会这样操作,长按生词、选择复制、点击 Home 键、找到翻译 App,有道翻译或者谷歌翻译之类的,然后长按输入框,选择粘贴,此时你才可以看到那个生词的意思。其实这是一个非常考验用户耐性的事,连续操作几次,不烦才怪呢。

我也是,自己以前在 Medium 上阅读文章时经常做这样的事,后来我想能不能简单点呢,所以就有了咕咚翻译这个 App,咕咚是我的网名呢~
Expand All @@ -43,70 +35,51 @@ V2EX 上对 App 的讨论 [咕咚翻译](https://www.v2ex.com/t/259288#reply69)

Google+ [咕咚翻译社群](https://plus.google.com/u/1/communities/111919086388322816251)

## 已知 Bug
* ~~查词时,输入框下面应该会显示"查词中...",目前不能显示出来~~
* 连续两次复制单词,程序奔溃。
* 在本应用外收藏成功单词后,没有成功提示

## 技术点

* 1、全程使用 [Dagger2](https://github.com/google/dagger) 对项目进行类依赖管理
* 2、项目使用标准的 MVP 架构,[关于 MVP 的一篇博客](http://gudong.name/advanced/2015/11/23/gank_mvp_introduce.html)
* 3、实现对粘贴板的监听以及访问
* 4、无需权限显示悬浮窗
* 5、[RxJava](https://github.com/ReactiveX/RxJava) 的使用
* 4、无需权限显示悬浮窗(6.0悬浮窗权限适配)
* 5、使用 [RxJava](https://github.com/ReactiveX/RxJava) 探索函数式编程
* 6、使用 [Retrofit2](https://github.com/square/retrofit) 进行网络请求
* 7、开机自启动
* 8、泛型
* 8、Android 6.0 [自定义文本操作栏](http://www.jianshu.com/p/40e84359d683)

`Note` 3、4都是借鉴自[廖祜秋](https://github.com/liaohuqiu/)的开源项目[android-UCToast](https://github.com/liaohuqiu/android-UCToast),感谢~

## 更新日志

### V1.3.5

* 增加每日一句
`Note` 3、4都是借鉴自[廖祜秋](https://github.com/liaohuqiu/)的开源项目[android-UCToast](https://github.com/liaohuqiu/android-UCToast),感谢~

### V1.0.0
## 适配问题

* 设计: 首页大改版,使用 MaterialDesign 样式重新设计了首页。Thanks @TonyLOfficial(03-05)
* 新增: 划词翻译开关,你可以关闭划词翻译功能了。(03-04)
* 新增: 首页支持灵活的翻译引擎切换(03-07)
* 新增: 长按翻译结果区域,可以选择复制(03-07)
* 更新: 关闭长按句子可以翻译长句的功能。但是主界面支持句子翻译,仅限百度翻译。(03-07)
* 优化: 点击翻译按钮后,让翻译按钮不可用(03-09)
* 优化: 在咕咚翻译主界面,长按复制文本,不再会弹出顶部提示框(03-07)
* 优化: 单词本被移动到了 Toolbar 上面展示。(03-05)
* 更新: 支持 Android 4.1及以上的版本 (03-05)
* 修复: 翻译时不显示 "翻译中" 的提示问题,Thanks @leizhiyuan。(03-04)
* 优化: 单词本为空时显示一个为空提示语,Thanks @leizhiyuan。(03-04)
* 修复: 点击清除按钮后,还可以点击收藏 (03-05)
- [Android 8.0系统上使用WindowManager添加view的一个问题](https://juejin.im/entry/5a3a0ca75188257d391d30ac)

### V0.6.3
## 更新日志
[日志列表](./doc/Changelog.md)

* 新增: 划词翻译开关,你可以关闭划词翻译功能了。(03-04)
* 优化: 单词本被移动到了 Toolbar 上面展示。(03-05)
* 修复: 翻译时不显示 "翻译中" 的提示问题,Thanks @leizhiyuan。(03-04)
## 支持一下
* [去捐赠打赏](http://gudong.name/vdonate/)
* [已捐赠记录](http://gudong.name/1990/03/01/list_pay.html)

### V0.6
## 贡献者

* 大幅提高定时设置的稳定性,可以在首页灵活设置显示开关,以及显示间隔时间等。
* 加入 [Once](https://github.com/jonfinerty/Once) 库用于简化一些一次性操作
* 加入了 BugHd 作为 bug 统计工具
* 使用 MVP 对项目进行重构
* 使用 Dagger2 进行依赖管理
* [70kg \(70kg\)](https://github.com/70kg)
* [kymjs \(张涛\)](https://github.com/kymjs)
* [leizhiyuan \(Lei Zhiyuan\)](https://github.com/leizhiyuan)
* [LevineLiu \(LevineLiu\)](https://github.com/LevineLiu)
* [LostKe](https://github.com/LostKe)
* [WonShaw \(万宵\)](https://github.com/WonShaw)

## 关于作者

咕咚,爱折腾、爱新鲜,爱篮球。

[个人站点](http://gudong.name/)

[github](https://github.com/maoruibin)
咕咚,软件工程师,[更多](http://gudong.name/about)。

[微博](http://weibo.com/u/1874136301)
* 公众号:咕咚同学
* [个人站点](http://gudong.name)
* [github](https://github.com/maoruibin)
* [微博](http://weibo.com/u/1874136301)

##License
## License

Copyright (C) 2015 GuDong <gudong.name@gmail.com>

Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-cayman
84 changes: 63 additions & 21 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'me.tatarka.retrolambda'
apply plugin:'im.fir.plugin.gradle'
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}

fir{
apiToken '15e5206706b555384608e449d6def6d3'
changeLog '* add upload plugin for fir\n' +
'* add changelog file'
dependencies {
classpath 'io.fabric.tools:gradle:1.22.2'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

bughd{
projectId '56d30214a1de52062800000e'
apiToken 'e244dc781dd8455c9e6e04b62e1328a0'
repositories {
maven { url 'https://maven.fabric.io/public' }
}

apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'me.tatarka.retrolambda'

//格式化打完完成后APK名称中的时间
def releaseTime() {
return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC+8"))
Expand All @@ -39,8 +42,8 @@ android {
vectorDrawables.useSupportLibrary = true

//baidu config
buildConfigField "String", "BAIDU_SCREAT_KEY", '"5jlBZtaMuo6Xlx5LOIVC"'
buildConfigField "String", "BAIDU_APP_ID", '"20151224000008231"'
buildConfigField "String", "BAIDU_SCREAT_KEY", '""'
buildConfigField "String", "BAIDU_APP_ID", '""'

//iciba config
buildConfigField "String", "ICIBA_KEY", '"8B660C51C6D4A410DE9D406667729BC4"'
Expand All @@ -52,12 +55,18 @@ android {
buildConfigField "String", "YOUDAO_DOC_TYPE", '"json"'
buildConfigField "String", "YOUDAO_VERSION", '"1.2"'

//google config
buildConfigField "String", "GOOGLE_LANGUAGE_ENGLISH", '"en"'
buildConfigField "String", "GOOGLE_LANGUAGE_CHINEASE", '"zh-CN"'

//common value
buildConfigField "String", "RESULT_JSON", '"json"'
buildConfigField "String", "LANGUAGE_AUTO", '"auto"'
buildConfigField "Boolean", "IS_DEBUG", 'true'

resValue "string", "tray__authority", "${cfg.package}.tray"

buildConfigField "Boolean", "IS_ADVANCE", 'false'
}

signingConfigs {
Expand Down Expand Up @@ -118,6 +127,11 @@ android {
manifestPlaceholders = [UMENG_CHANNEL_VALUE: "dev21"]
minSdkVersion cfg.minSdk21
}
//高级用户
advance {
manifestPlaceholders = [UMENG_CHANNEL_VALUE: "self"]
buildConfigField "Boolean", "IS_ADVANCE", 'true'
}
}

compileOptions {
Expand All @@ -128,7 +142,7 @@ android {

//set release sign info synchronously
def Properties props = new Properties()
def propFile = file('../gradle.properties')
def propFile = file('../local.properties')
if (propFile.exists()) {
props.load(new FileInputStream(propFile))
if (props != null &&
Expand All @@ -150,8 +164,8 @@ if (propFile.exists()) {

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile files('libs/Bughd_android_sdk_v1.3.7.jar')
// Test
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile "junit:junit:${test.junit}"
// Android
compile "com.android.support:recyclerview-v7:${libs.supportVersion}"
Expand Down Expand Up @@ -184,13 +198,41 @@ dependencies {
compile "com.jenzz:materialpreference:${libs.materialpreference}"
compile "com.github.bumptech.glide:glide:${libs.glide}"

compile ("me.drakeet.library:crashwoodpecker:${libs.crashwoodpecker}"){
compile("me.drakeet.library:crashwoodpecker:${libs.crashwoodpecker}") {
exclude module: 'recyclerview-v7'
}
compile project(":headsupcompat")

compile 'net.grandcentrix.tray:tray:0.11.0'
compile "com.readystatesoftware.sqliteasset:sqliteassethelper:${libs.sqliteassethelper}"

compile "net.grandcentrix.tray:tray:${libs.tray}"

compile "com.facebook.stetho:stetho:${libs.stetho}"
compile "com.facebook.stetho:stetho-okhttp3:${libs.stetho_okhttp3}"

compile('me.drakeet.support:about:2.0.2', {
exclude module: 'recyclerview-v7'
exclude module: 'appcompat-v7'
exclude module: 'design'
})
compile('me.drakeet.multitype:multitype:3.3.3', {
exclude module: 'recyclerview-v7'
exclude module: 'appcompat-v7'
exclude module: 'design'
})

// compile ('me.drakeet.support:about-extension:2.0.2', {
// exclude module: 'recyclerview-v7'
// exclude module: 'appcompat-v7'
// exclude module: 'design'
// })
compile 'com.squareup.picasso:picasso:2.5.2'
compile('com.crashlytics.sdk.android:crashlytics:2.8.0@aar') {
transitive = true;
}
compile('com.crashlytics.sdk.android:answers:1.4.1@aar') {
transitive = true;
}

compile 'com.facebook.stetho:stetho:1.4.2'
compile 'com.facebook.stetho:stetho-okhttp3:1.4.2'
}
compile 'com.github.anzewei:parallaxbacklayout:1.1.9'
compile 'com.airbnb.android:lottie:2.1.0'
}
3 changes: 3 additions & 0 deletions app/fabric.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#Contains API Secret used to validate your application. Commit to internal source control; avoid making secret public.
#Sat Feb 03 20:00:56 CST 2018
apiSecret=2ad97b261aef0185addafa7c358ed28499ebddd6e7b2932f4da6c06e95b0f4ba
Binary file removed app/libs/Bughd_android_sdk_v1.3.7.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,11 @@

-keep class name.gudong.translate.mvp.model.entity.** {*;}

-dontwarn com.squareup.okhttp.**

-dontwarn com.bumptech.glide.**

-keep public enum com.github.anzewei.parallaxbacklayout.ParallaxBack$** {
**[] $VALUES;
public *;
}
Loading