Base commit

This commit is contained in:
Lei Nelissen
2022-06-09 22:32:05 +02:00
parent b41031eeac
commit 4d025d5411
54 changed files with 1868 additions and 863 deletions

View File

@@ -35,12 +35,12 @@ android_library(
android_build_config(
name = "build_config",
package = "com.jellyfinaudioplayer",
package = "nl.moeilijkedingen.jellyfinaudioplayer",
)
android_resource(
name = "res",
package = "com.jellyfinaudioplayer",
package = "nl.moeilijkedingen.jellyfinaudioplayer",
res = "src/main/res",
)

View File

@@ -135,7 +135,7 @@ android {
compileSdkVersion rootProject.ext.compileSdkVersion
defaultConfig {
applicationId "com.jellyfinaudioplayer"
applicationId "nl.moeilijkedingen.jellyfinaudioplayer"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 11
@@ -269,6 +269,8 @@ dependencies {
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
implementation 'androidx.work:work-runtime:2.7.1'
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
exclude group:'com.facebook.fbjni'
}

View File

@@ -4,7 +4,7 @@
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.jellyfinaudioplayer;
package nl.moeilijkedingen.jellyfinaudioplayer;
import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;

View File

@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.jellyfinaudioplayer">
package="nl.moeilijkedingen.jellyfinaudioplayer">
<uses-permission android:name="android.permission.INTERNET" />

View File

@@ -1,4 +1,4 @@
package com.jellyfinaudioplayer;
package nl.moeilijkedingen.jellyfinaudioplayer;
import com.facebook.react.ReactActivity;
import android.os.Bundle;
@@ -11,7 +11,7 @@ public class MainActivity extends ReactActivity {
*/
@Override
protected String getMainComponentName() {
return "JellyfinAudioPlayer";
return "Fintunes";
}
@Override

View File

@@ -1,4 +1,4 @@
package com.jellyfinaudioplayer;
package nl.moeilijkedingen.jellyfinaudioplayer;
import android.app.Application;
import android.content.Context;
@@ -70,7 +70,7 @@ public class MainApplication extends Application implements ReactApplication {
We use reflection here to pick up the class that initializes Flipper,
since Flipper library is not available in release mode
*/
Class<?> aClass = Class.forName("com.jellyfinaudioplayer.ReactNativeFlipper");
Class<?> aClass = Class.forName("nl.moeilijkedingen.jellyfinaudioplayer.ReactNativeFlipper");
aClass
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
.invoke(null, context, reactInstanceManager);

View File

@@ -1,3 +1,3 @@
<resources>
<string name="app_name">JellyfinAudioPlayer</string>
<string name="app_name">Fintunes</string>
</resources>

View File

@@ -29,6 +29,7 @@ buildscript {
classpath("com.android.tools.build:gradle:7.0.4")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("de.undercouch:gradle-download-task:4.1.2")
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}

View File

@@ -1,4 +1,4 @@
rootProject.name = 'JellyfinAudioPlayer'
rootProject.name = 'Fintunes'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
includeBuild('../node_modules/react-native-gradle-plugin')