Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
grishka committed Feb 20, 2021
0 parents commit 30b43d1
Show file tree
Hide file tree
Showing 100 changed files with 4,237 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitignore
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
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions Houseclub/build.gradle
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'
}
21 changes: 21 additions & 0 deletions Houseclub/proguard-rules.pro
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
36 changes: 36 additions & 0 deletions Houseclub/src/main/AndroidManifest.xml
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>
19 changes: 19 additions & 0 deletions Houseclub/src/main/java/me/grishka/houseclub/App.java
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();
}
}
Loading

0 comments on commit 30b43d1

Please sign in to comment.