mirror of https://github.com/Xe/xesite_android
version bump
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
c57c41ade0
commit
e40b62c270
|
@ -23,8 +23,8 @@ def twaManifest = [
|
||||||
applicationId: 'website.christine.xesite',
|
applicationId: 'website.christine.xesite',
|
||||||
hostName: 'christine.website', // The domain being opened in the TWA.
|
hostName: 'christine.website', // The domain being opened in the TWA.
|
||||||
launchUrl: '/', // The start path for the TWA. Must be relative to the domain.
|
launchUrl: '/', // The start path for the TWA. Must be relative to the domain.
|
||||||
name: 'christine.website', // The application name.
|
name: "Xeblog", // The application name.
|
||||||
launcherName: 'christine.website', // The name shown on the Android Launcher.
|
launcherName: 'Xeblog', // The name shown on the Android Launcher.
|
||||||
themeColor: '#FFCBE4', // The color used for the status bar.
|
themeColor: '#FFCBE4', // The color used for the status bar.
|
||||||
navigationColor: '#FFCBE4', // The color used for the navigation bar.
|
navigationColor: '#FFCBE4', // The color used for the navigation bar.
|
||||||
navigationColorDark: '#FFCBE4', // The color used for the dark navbar.
|
navigationColorDark: '#FFCBE4', // The color used for the dark navbar.
|
||||||
|
@ -54,8 +54,8 @@ android {
|
||||||
applicationId "website.christine.xesite"
|
applicationId "website.christine.xesite"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
versionCode 8
|
versionCode 9
|
||||||
versionName "1.1.1.1"
|
versionName "1.2.1.1"
|
||||||
|
|
||||||
// The name for the application
|
// The name for the application
|
||||||
resValue "string", "appName", twaManifest.name
|
resValue "string", "appName", twaManifest.name
|
||||||
|
@ -211,4 +211,5 @@ dependencies {
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
|
||||||
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.0'
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.0'
|
||||||
implementation 'androidx.navigation:navigation-ui-ktx:2.3.0'
|
implementation 'androidx.navigation:navigation-ui-ktx:2.3.0'
|
||||||
|
implementation 'com.joaomgcd:taskerpluginlibrary:0.4.1'
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,10 +24,12 @@ class NewPostWidget : AppWidgetProvider() {
|
||||||
private lateinit var requestQueue: RequestQueue
|
private lateinit var requestQueue: RequestQueue
|
||||||
|
|
||||||
private fun userAgent(ctx: Context): String {
|
private fun userAgent(ctx: Context): String {
|
||||||
val pkgInfo = ctx.getPackageManager().getPackageInfo(ctx.packageName, 0)
|
return BuildConfig.APPLICATION_ID
|
||||||
|
.plus("/")
|
||||||
return ctx.packageName.plus("/").plus(pkgInfo.versionName)
|
.plus(BuildConfig.VERSION_NAME)
|
||||||
.plus("(android; +https://christine.website/contact)")
|
.plus("(android; ")
|
||||||
|
.plus(BuildConfig.BUILD_TYPE)
|
||||||
|
.plus("; +https://christine.website/contact")
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun notify(ctx: Context, newPost: NewPost) {
|
private fun notify(ctx: Context, newPost: NewPost) {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "Christine Dodrill",
|
"name": "Xe's Blog",
|
||||||
"short_name": "Christine",
|
"short_name": "Xeblog",
|
||||||
"theme_color": "#ffcbe4",
|
"theme_color": "#ffcbe4",
|
||||||
"background_color": "#fa99ca",
|
"background_color": "#fa99ca",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"scope": "/",
|
"scope": "/",
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
"description": "Blog and Resume for Christine Dodrill",
|
"description": "Blog and Resume for Xe",
|
||||||
"orientation": "any",
|
"orientation": "any",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue