Skip to content

Commit 27c8421

Browse files
committed
Had to rebuild whole ionic project because white screen on prod
1 parent a76063d commit 27c8421

File tree

70 files changed

+2161
-1469
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+2161
-1469
lines changed

.eslintrc.js

+25-28
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
11
module.exports = {
2-
root: true,
3-
env: {
4-
node: true
5-
},
6-
'extends': [
7-
'plugin:vue/vue3-essential',
8-
'eslint:recommended',
9-
],
10-
parserOptions: {
11-
ecmaVersion: 2020
12-
},
13-
rules: {
14-
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
15-
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
16-
'vue/no-deprecated-slot-attribute': 'off',
17-
},
18-
overrides: [
19-
{
20-
files: [
21-
'**/__tests__/*.{j,t}s?(x)',
22-
'**/tests/unit/**/*.spec.{j,t}s?(x)'
23-
],
24-
env: {
25-
jest: true
26-
}
27-
}
28-
]
29-
}
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
extends: ["plugin:vue/vue3-essential", "eslint:recommended"],
7+
parserOptions: {
8+
ecmaVersion: 2020,
9+
},
10+
rules: {
11+
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
12+
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
13+
"vue/no-deprecated-slot-attribute": "off",
14+
},
15+
overrides: [
16+
{
17+
files: [
18+
"**/__tests__/*.{j,t}s?(x)",
19+
"**/tests/unit/**/*.spec.{j,t}s?(x)",
20+
],
21+
env: {
22+
jest: true,
23+
},
24+
},
25+
],
26+
};

CHANGELOG.md

+9

README.md

+1-1

TODO.md

+2-3

android/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Using Android gitignore template: https://github.com/github/gitignore/blob/HEAD/Android.gitignore
22

33
# Built application files
4-
# *.apk
4+
*.apk
55
*.aar
66
*.ap_
77
*.aab

android/.idea/.gitignore

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/.idea/gradle.properties

Whitespace-only changes.

android/.idea/misc.xml

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/.project

-28
This file was deleted.

android/.settings/org.eclipse.buildship.core.prefs

-13
This file was deleted.

android/app/.classpath

-6
This file was deleted.

android/app/.project

-34
This file was deleted.

android/app/.settings/org.eclipse.buildship.core.prefs

-2
This file was deleted.

android/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'com.android.application'
33
android {
44
compileSdkVersion rootProject.ext.compileSdkVersion
55
defaultConfig {
6-
applicationId "mpvremote.nfdevel.hu"
6+
applicationId "io.ionic.starter"
77
minSdkVersion rootProject.ext.minSdkVersion
88
targetSdkVersion rootProject.ext.targetSdkVersion
99
versionCode 1

android/app/capacitor.build.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ dependencies {
1212
implementation project(':capacitor-app')
1313
implementation project(':capacitor-haptics')
1414
implementation project(':capacitor-keyboard')
15-
implementation project(':capacitor-local-notifications')
1615
implementation project(':capacitor-status-bar')
1716
implementation project(':capacitor-storage')
18-
implementation "com.android.support:support-v4:25.1.1"
17+
1918
}
2019

2120

android/app/release/app-release.apk

-4.18 MB
Binary file not shown.

android/app/release/output-metadata.json

-20
This file was deleted.
+33-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,42 @@
1-
<?xml version='1.0' encoding='utf-8'?>
2-
<manifest package="mpvremote.nfdevel.hu" xmlns:android="http://schemas.android.com/apk/res/android">
3-
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme" android:usesCleartextTraffic="true">
4-
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" android:label="@string/title_activity_main" android:launchMode="singleTask" android:name="mpvremote.nfdevel.hu.MainActivity" android:theme="@style/AppTheme.NoActionBarLaunch">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="io.ionic.starter">
4+
5+
<application
6+
android:allowBackup="true"
7+
android:icon="@mipmap/ic_launcher"
8+
android:label="@string/app_name"
9+
android:roundIcon="@mipmap/ic_launcher_round"
10+
android:supportsRtl="true"
11+
android:usesCleartextTraffic="true"
12+
android:theme="@style/AppTheme">
13+
14+
<activity
15+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
16+
android:name="io.ionic.starter.MainActivity"
17+
android:label="@string/title_activity_main"
18+
android:theme="@style/AppTheme.NoActionBarLaunch"
19+
android:launchMode="singleTask">
20+
521
<intent-filter>
622
<action android:name="android.intent.action.MAIN" />
723
<category android:name="android.intent.category.LAUNCHER" />
8-
<action android:name="android.intent.action.VIEW" />
924
</intent-filter>
25+
1026
</activity>
11-
<provider android:authorities="${applicationId}.fileprovider" android:exported="false" android:grantUriPermissions="true" android:name="androidx.core.content.FileProvider">
12-
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" />
27+
28+
<provider
29+
android:name="androidx.core.content.FileProvider"
30+
android:authorities="${applicationId}.fileprovider"
31+
android:exported="false"
32+
android:grantUriPermissions="true">
33+
<meta-data
34+
android:name="android.support.FILE_PROVIDER_PATHS"
35+
android:resource="@xml/file_paths"></meta-data>
1336
</provider>
1437
</application>
38+
39+
<!-- Permissions -->
40+
1541
<uses-permission android:name="android.permission.INTERNET" />
1642
</manifest>
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
{
2-
"appId": "mpvremote.nfdevel.hu",
3-
"appName": "mpvRemote",
4-
"webDir": "public",
5-
"bundledWebRuntime": false,
6-
"plugins": {
7-
"LocalNotifications": {
8-
"iconColor": "#488AFF"
9-
}
10-
}
2+
"appId": "io.ionic.starter",
3+
"appName": "MPV Remote",
4+
"webDir": "dist",
5+
"bundledWebRuntime": false
116
}

android/app/src/main/assets/capacitor.plugins.json

-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
"pkg": "@capacitor/keyboard",
1212
"classpath": "com.capacitorjs.plugins.keyboard.KeyboardPlugin"
1313
},
14-
{
15-
"pkg": "@capacitor/local-notifications",
16-
"classpath": "com.capacitorjs.plugins.localnotifications.LocalNotificationsPlugin"
17-
},
1814
{
1915
"pkg": "@capacitor/status-bar",
2016
"classpath": "com.capacitorjs.plugins.statusbar.StatusBarPlugin"

android/app/src/main/java/mpvremote/nfdevel/hu/MainActivity.java android/app/src/main/java/io/ionic/starter/MainActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package mpvremote.nfdevel.hu;
1+
package io.ionic.starter;
22

33
import com.getcapacitor.BridgeActivity;
44

Binary file not shown.
Binary file not shown.
-65.9 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version='1.0' encoding='utf-8'?>
22
<resources>
3-
<string name="app_name">mpvRemote</string>
4-
<string name="title_activity_main">mpvRemote</string>
5-
<string name="package_name">mpvremote.nfdevel.hu</string>
6-
<string name="custom_url_scheme">mpvremote.nfdevel.hu</string>
3+
<string name="app_name">MPV Remote</string>
4+
<string name="title_activity_main">MPV Remote</string>
5+
<string name="package_name">io.ionic.starter</string>
6+
<string name="custom_url_scheme">io.ionic.starter</string>
77
</resources>

android/app/src/main/res/xml/config.xml

-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,5 @@
22
<widget version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
33
<access origin="*" />
44

5-
<feature name="MusicControls">
6-
<param name="android-package" value="com.homerours.musiccontrols.MusicControls"/>
7-
</feature>
8-
95

106
</widget>

android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
jcenter()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:7.0.0'
10+
classpath 'com.android.tools.build:gradle:4.2.1'
1111
classpath 'com.google.gms:google-services:4.3.5'
1212

1313
// NOTE: Do not place your application dependencies here; they belong

android/capacitor.settings.gradle

-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ project(':capacitor-haptics').projectDir = new File('../node_modules/@capacitor/
1111
include ':capacitor-keyboard'
1212
project(':capacitor-keyboard').projectDir = new File('../node_modules/@capacitor/keyboard/android')
1313

14-
include ':capacitor-local-notifications'
15-
project(':capacitor-local-notifications').projectDir = new File('../node_modules/@capacitor/local-notifications/android')
16-
1714
include ':capacitor-status-bar'
1815
project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacitor/status-bar/android')
1916

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

capacitor.config.json

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
{
2-
"appId": "mpvremote.nfdevel.hu",
3-
"appName": "mpvRemote",
4-
"webDir": "public",
5-
"bundledWebRuntime": false,
6-
"plugins": {
7-
"LocalNotifications": {
8-
"iconColor": "#488AFF"
9-
}
10-
}
2+
"appId": "io.ionic.starter",
3+
"appName": "MPV Remote",
4+
"webDir": "dist",
5+
"bundledWebRuntime": false
116
}

ionic.config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "mpvRemote",
2+
"name": "MPV Remote",
33
"integrations": {
44
"capacitor": {}
55
},

0 commit comments

Comments
 (0)