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',
|
||||
hostName: 'christine.website', // The domain being opened in the TWA.
|
||||
launchUrl: '/', // The start path for the TWA. Must be relative to the domain.
|
||||
name: 'christine.website', // The application name.
|
||||
launcherName: 'christine.website', // The name shown on the Android Launcher.
|
||||
name: "Xeblog", // The application name.
|
||||
launcherName: 'Xeblog', // The name shown on the Android Launcher.
|
||||
themeColor: '#FFCBE4', // The color used for the status bar.
|
||||
navigationColor: '#FFCBE4', // The color used for the navigation bar.
|
||||
navigationColorDark: '#FFCBE4', // The color used for the dark navbar.
|
||||
|
@ -54,8 +54,8 @@ android {
|
|||
applicationId "website.christine.xesite"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 8
|
||||
versionName "1.1.1.1"
|
||||
versionCode 9
|
||||
versionName "1.2.1.1"
|
||||
|
||||
// The name for the application
|
||||
resValue "string", "appName", twaManifest.name
|
||||
|
@ -211,4 +211,5 @@ dependencies {
|
|||
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
|
||||
implementation 'androidx.navigation:navigation-fragment-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 fun userAgent(ctx: Context): String {
|
||||
val pkgInfo = ctx.getPackageManager().getPackageInfo(ctx.packageName, 0)
|
||||
|
||||
return ctx.packageName.plus("/").plus(pkgInfo.versionName)
|
||||
.plus("(android; +https://christine.website/contact)")
|
||||
return BuildConfig.APPLICATION_ID
|
||||
.plus("/")
|
||||
.plus(BuildConfig.VERSION_NAME)
|
||||
.plus("(android; ")
|
||||
.plus(BuildConfig.BUILD_TYPE)
|
||||
.plus("; +https://christine.website/contact")
|
||||
}
|
||||
|
||||
private fun notify(ctx: Context, newPost: NewPost) {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "Christine Dodrill",
|
||||
"short_name": "Christine",
|
||||
"name": "Xe's Blog",
|
||||
"short_name": "Xeblog",
|
||||
"theme_color": "#ffcbe4",
|
||||
"background_color": "#fa99ca",
|
||||
"display": "standalone",
|
||||
"scope": "/",
|
||||
"start_url": "/",
|
||||
"description": "Blog and Resume for Christine Dodrill",
|
||||
"description": "Blog and Resume for Xe",
|
||||
"orientation": "any",
|
||||
"icons": [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue