remove Firebase App Invites, pretty useles

This commit is contained in:
tibbi 2016-08-20 12:38:52 +02:00
parent b732497afb
commit 2c858ff3ae
5 changed files with 1 additions and 12 deletions

1
.gitignore vendored
View File

@ -8,4 +8,3 @@
/captures
release.keystore
signing.properties
/app/google-services.json

View File

@ -36,7 +36,6 @@ dependencies {
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.google.firebase:firebase-invites:9.4.0'
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
@ -57,8 +56,6 @@ buildscript {
}
}
apply plugin: 'com.google.gms.google-services'
def Properties props = new Properties()
def propFile = new File('signing.properties')
if (propFile.canRead()) {

View File

@ -6,7 +6,6 @@ import android.os.Bundle
import android.text.Html
import android.text.method.LinkMovementMethod
import android.view.View
import com.google.android.gms.appinvite.AppInviteInvitation
import com.simplemobiletools.applauncher.BuildConfig
import com.simplemobiletools.applauncher.R
import com.simplemobiletools.applauncher.extensions.isFirstRun
@ -39,12 +38,8 @@ class AboutActivity : SimpleActivity() {
private fun setupInvite() {
val intent = AppInviteInvitation.IntentBuilder(getString(R.string.invite_friends))
.setMessage(String.format(getString(R.string.come_check_out), getString(R.string.app_name), 1))
.build()
about_invite.setOnClickListener {
startActivityForResult(intent, 1)
}
}

View File

@ -14,7 +14,6 @@
<string name="email_label">Send your feedback or suggestions to:</string>
<string name="email" translatable="false">hello@simplemobiletools.com</string>
<string name="third_party_licences_underlined"><u>Third party licences</u></string>
<string name="invite_friends">Invite friends</string>
<string name="invite_friends_underlined"><u>Invite friends</u></string>
<string name="come_check_out">Come check out %s</string>
<string name="rate_us_underlined"><u>Rate us in the Play Store</u></string>

View File

@ -6,7 +6,6 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}