-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/caches | ||
/.idea/libraries | ||
/.idea/modules.xml | ||
/.idea/workspace.xml | ||
/.idea/navEditor.xml | ||
/.idea/assetWizardSettings.xml | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild | ||
.cxx | ||
/Houseclub/release | ||
/Houseclub/build | ||
*.jks |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion 30 | ||
buildToolsVersion "30.0.3" | ||
defaultConfig { | ||
applicationId "me.grishka.houseclub" | ||
minSdkVersion 24 | ||
targetSdkVersion 30 | ||
versionCode 1 | ||
versionName "1.0" | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
ndk{ | ||
abiFilters "arm64-v8a" | ||
} | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
// sourceSets{ | ||
// main{ | ||
// jniLibs.srcDirs=['../AgoraSDK'] | ||
// } | ||
// } | ||
} | ||
|
||
dependencies { | ||
implementation 'com.github.grishka.litex:recyclerview:1.0' | ||
implementation 'com.github.grishka.litex:swiperefreshlayout:1.0' | ||
implementation 'com.github.grishka.litex:viewpager2:1.0' | ||
implementation 'com.github.grishka:appkit:c7854a3' | ||
api 'com.github.grishka.litex:annotation:1.0' | ||
|
||
implementation 'com.google.code.gson:gson:2.8.6' | ||
// implementation 'com.squareup:otto:1.3.8' | ||
// implementation 'de.psdev:async-otto:1.0.3' | ||
|
||
implementation 'io.agora.rtc:voice-sdk:3.3.0' | ||
implementation group: 'com.pubnub', name: 'pubnub-gson', version: '4.33.3' | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Add project specific ProGuard rules here. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<manifest package="me.grishka.houseclub" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<uses-permission android:name="android.permission.INTERNET"/> | ||
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> | ||
<uses-permission android:name="android.permission.RECORD_AUDIO" /> | ||
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
<!-- The Agora SDK requires Bluetooth permissions in case users are using Bluetooth devices.--> | ||
<uses-permission android:name="android.permission.BLUETOOTH" /> | ||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | ||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:label="@string/app_name" | ||
android:theme="@style/AppTheme" | ||
android:name=".App" | ||
android:icon="@mipmap/ic_launcher" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:usesCleartextTraffic="true"> | ||
<activity android:name=".MainActivity" android:configChanges="screenSize|orientation" android:launchMode="singleTask"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN"/> | ||
<category android:name="android.intent.category.LAUNCHER"/> | ||
</intent-filter> | ||
<intent-filter> | ||
<action android:name="android.intent.action.VIEW"/> | ||
<category android:name="android.intent.category.BROWSABLE"/> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
<data android:host="ios.joinclubhouse.com" android:pathPrefix="/room/" android:scheme="https"/> | ||
</intent-filter> | ||
</activity> | ||
<service android:name=".VoiceService" /> | ||
</application> | ||
</manifest> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package me.grishka.houseclub; | ||
|
||
import android.app.Application; | ||
import android.content.Context; | ||
|
||
import me.grishka.appkit.utils.V; | ||
import me.grishka.houseclub.api.ClubhouseSession; | ||
|
||
public class App extends Application{ | ||
public static Context applicationContext; | ||
|
||
@Override | ||
public void onCreate(){ | ||
super.onCreate(); | ||
applicationContext=getApplicationContext(); | ||
V.setApplicationContext(applicationContext); | ||
ClubhouseSession.load(); | ||
} | ||
} |