Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Commit

Permalink
rename to Red
Browse files Browse the repository at this point in the history
show redirection destination
fix dialer end call
add priority Signal > Telegram
  • Loading branch information
lucky committed Feb 5, 2022
1 parent 9b3c582 commit 48a9998
Show file tree
Hide file tree
Showing 29 changed files with 291 additions and 219 deletions.
28 changes: 13 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,35 @@
# Re
# Red

Redirect outgoing calls to Signal or Telegram.
Redirect outgoing calls to Signal/Telegram.

[<img
src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="Get it on F-Droid"
height="80">](https://f-droid.org/packages/me.lucky.re/)

[comment]: <> ([<img)

[comment]: <> ( src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png")

[comment]: <> ( alt="Get it on Google Play")

[comment]: <> ( height="80">]&#40;https://play.google.com/store/apps/details?id=me.lucky.re&#41;)
height="80">](https://f-droid.org/packages/me.lucky.red/)
[<img
src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png"
alt="Get it on Google Play"
height="80">](https://play.google.com/store/apps/details?id=me.lucky.red)

<img
src="https://raw.githubusercontent.com/x13a/Re/main/fastlane/metadata/android/en-US/images/phoneScreenshots/1.png"
src="https://raw.githubusercontent.com/x13a/Red/main/fastlane/metadata/android/en-US/images/phoneScreenshots/1.png"
width="30%"
height="30%">

Tiny app to redirect outgoing calls to Signal or Telegram if available.
Tiny app to redirect outgoing calls to Signal/Telegram if available.

You can cancel redirection by clicking on `Redirecting` popup.
You can cancel redirection by clicking on `Redirecting to..` popup.

## Permissions

* ACCESS_NETWORK_STATE - check internet is available
* CALL_PHONE - make a call via messenger
* READ_CONTACTS - check contact has a messenger record
* SYSTEM_ALERT_WINDOW - show redirecting popup and launch activity from background
* SYSTEM_ALERT_WINDOW - show redirecting popup and launch an activity from background
* CALL_REDIRECTION - process outgoing call

All permissions are mandatory.

## License
[![GNU GPLv3 Image](https://www.gnu.org/graphics/gplv3-127x51.png)](https://www.gnu.org/licenses/gpl-3.0.en.html)

Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ android {
compileSdk 32

defaultConfig {
applicationId "me.lucky.re"
applicationId "me.lucky.red"
minSdk 29
targetSdk 32
versionCode 1
versionName "1.0.0"
versionCode 2
versionName "1.0.1"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.lucky.re
package me.lucky.red

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
Expand All @@ -19,6 +19,6 @@ class ExampleInstrumentedTest {
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("me.lucky.re", appContext.packageName)
assertEquals("me.lucky.red", appContext.packageName)
}
}
6 changes: 2 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.lucky.re">
package="me.lucky.red">

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
Expand All @@ -9,14 +9,12 @@
<uses-feature android:name="android.hardware.telephony" android:required="true" />

<application
android:allowBackup="true"
android:fullBackupContent="true"
android:icon="@mipmap/ic_launcher"
android:name=".Application"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Re">
android:theme="@style/Theme.Red">

<activity
android:name=".MainActivity"
Expand Down
100 changes: 0 additions & 100 deletions app/src/main/java/me/lucky/re/CallRedirectionService.kt

This file was deleted.

67 changes: 0 additions & 67 deletions app/src/main/java/me/lucky/re/DialogWindow.kt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.lucky.re
package me.lucky.red

import android.app.Application
import com.google.android.material.color.DynamicColors
Expand Down
Loading

0 comments on commit 48a9998

Please sign in to comment.