project rename

This commit is contained in:
Fabian Freund
2025-05-19 11:37:03 +02:00
parent e3ec1b6f86
commit 9b88e6d213
302 changed files with 1183 additions and 1184 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ if (flutterVersionName == null) {
}
android {
namespace = "me.movenext.bang_navigator"
namespace = "eu.weblibre.browser"
compileSdk = 35
//Temporary fix
ndkVersion = "27.0.12077973" //flutter.ndkVersion
@@ -40,7 +40,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "me.movenext.bang_navigator"
applicationId = "eu.weblibre.browser"
// https://api.flutter.dev/flutter/widgets/AndroidView-class.html
//https://inappwebview.dev/docs/intro/#setup-android
minSdk = 23
+14 -14
View File
@@ -50,14 +50,14 @@
<application
android:label="Lensai"
android:label="WebLibre"
android:name=".MyApplication"
android:icon="@mipmap/launcher_icon"
android:usesCleartextTraffic="true"
android:enableOnBackInvokedCallback="true">
<activity
android:name="eu.lensai.flutter_mozilla_components.activities.NotificationActivity"
android:name="eu.weblibre.flutter_mozilla_components.activities.NotificationActivity"
android:theme="@style/Theme.AppCompat.Translucent"
android:exported="false"
android:launchMode="singleTop" />
@@ -66,7 +66,7 @@
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTask"
android:taskAffinity="me.movenext.bang_navigator.task"
android:taskAffinity="eu.weblibre.browser.task"
android:theme="@style/LaunchTheme"
android:supportsPictureInPicture="true"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
@@ -90,7 +90,7 @@
</intent-filter>
<intent-filter>
<action android:name="me.movenext.bang_navigator.action.LAUNCH" />
<action android:name="eu.weblibre.browser.action.LAUNCH" />
</intent-filter>
<intent-filter>
@@ -144,37 +144,37 @@
<activity
android:theme="@style/AddonsActivityTheme"
android:name="eu.lensai.flutter_mozilla_components.addons.AddonsActivity"
android:name="eu.weblibre.flutter_mozilla_components.addons.AddonsActivity"
android:label="@string/mozac_feature_addons_addons"
android:exported="false"
android:parentActivityName=".MainActivity" />
<activity
android:theme="@style/Theme.AppCompat.Light"
android:name="eu.lensai.flutter_mozilla_components.addons.AddonDetailsActivity"
android:name="eu.weblibre.flutter_mozilla_components.addons.AddonDetailsActivity"
android:exported="false"
android:label="@string/mozac_feature_addons_addons" />
<activity android:name="eu.lensai.flutter_mozilla_components.addons.InstalledAddonDetailsActivity"
<activity android:name="eu.weblibre.flutter_mozilla_components.addons.InstalledAddonDetailsActivity"
android:label="@string/mozac_feature_addons_addons"
android:parentActivityName="eu.lensai.flutter_mozilla_components.addons.AddonsActivity"
android:parentActivityName="eu.weblibre.flutter_mozilla_components.addons.AddonsActivity"
android:exported="false"
android:theme="@style/Theme.AppCompat.Light" />
<activity
android:name="eu.lensai.flutter_mozilla_components.addons.PermissionsDetailsActivity"
android:name="eu.weblibre.flutter_mozilla_components.addons.PermissionsDetailsActivity"
android:label="@string/mozac_feature_addons_addons"
android:exported="false"
android:theme="@style/Theme.AppCompat.Light" />
<activity
android:name="eu.lensai.flutter_mozilla_components.addons.AddonSettingsActivity"
android:name="eu.weblibre.flutter_mozilla_components.addons.AddonSettingsActivity"
android:label="@string/mozac_feature_addons_addons"
android:exported="false"
android:theme="@style/Theme.AppCompat.Light" />
<activity
android:name="eu.lensai.flutter_mozilla_components.addons.WebExtensionActionPopupActivity"
android:name="eu.weblibre.flutter_mozilla_components.addons.WebExtensionActionPopupActivity"
android:label="@string/mozac_feature_addons_addons"
android:theme="@style/Theme.AppCompat.Light"/>
@@ -206,7 +206,7 @@
</receiver>
<service
android:name="eu.lensai.flutter_mozilla_components.services.CustomTabsService"
android:name="eu.weblibre.flutter_mozilla_components.services.CustomTabsService"
android:exported="true">
<intent-filter>
<action android:name="android.support.customtabs.action.CustomTabsService" />
@@ -214,11 +214,11 @@
</service>
<service
android:name="eu.lensai.flutter_mozilla_components.services.DownloadService"
android:name="eu.weblibre.flutter_mozilla_components.services.DownloadService"
android:foregroundServiceType="dataSync"
android:exported="false" />
<service android:name="eu.lensai.flutter_mozilla_components.services.MediaSessionService"
<service android:name="eu.weblibre.flutter_mozilla_components.services.MediaSessionService"
android:foregroundServiceType="mediaPlayback"
android:exported="false" />
@@ -1,4 +1,4 @@
package me.movenext.bang_navigator
package eu.weblibre.browser
import android.appwidget.AppWidgetManager
import android.content.Context
@@ -1,4 +1,4 @@
package me.movenext.bang_navigator
package eu.weblibre.browser
import android.appwidget.AppWidgetManager
import android.content.Context
@@ -1,4 +1,4 @@
package me.movenext.bang_navigator
package eu.weblibre.browser
import android.content.Context
import android.os.Bundle
@@ -8,7 +8,7 @@ import io.flutter.embedding.engine.FlutterEngineCache
import io.flutter.plugin.common.MethodChannel
class MainActivity: FlutterFragmentActivity() {
private val CHANNEL = "me.movenext.flutter_mozilla_components/trim_memory"
private val CHANNEL = "eu.weblibre.flutter_mozilla_components/trim_memory"
private lateinit var channel: MethodChannel
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
@@ -1,4 +1,4 @@
package me.movenext.bang_navigator
package eu.weblibre.browser
import android.app.ActivityManager
import android.app.Application
@@ -1,4 +1,4 @@
package me.movenext.bang_navigator
package eu.weblibre.browser
import android.appwidget.AppWidgetManager
import android.content.Context
@@ -1,10 +1,10 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/Widget.LensaiWidget.AppWidget.Container"
style="@style/Widget.WebLibreWidget.AppWidget.Container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:theme="@style/Theme.LensaiWidget.AppWidgetContainer"
android:theme="@style/Theme.WebLibreWidget.AppWidgetContainer"
android:gravity="center_vertical">
<Button
@@ -1,10 +1,10 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/Widget.LensaiWidget.AppWidget.Container"
style="@style/Widget.WebLibreWidget.AppWidget.Container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp"
android:theme="@style/Theme.LensaiWidget.AppWidgetContainer">
android:theme="@style/Theme.WebLibreWidget.AppWidgetContainer">
<Button
android:id="@+id/search_button"
@@ -16,12 +16,12 @@
<item name="android:windowBackground">?android:colorBackground</item>
</style>
<style name="Widget.LensaiWidget.AppWidget.Container" parent="android:Widget">
<style name="Widget.WebLibreWidget.AppWidget.Container" parent="android:Widget">
<item name="android:id">@android:id/background</item>
<item name="android:background">?android:attr/colorBackground</item>
</style>
<style name="Widget.LensaiWidget.AppWidget.InnerView" parent="android:Widget">
<style name="Widget.WebLibreWidget.AppWidget.InnerView" parent="android:Widget">
<item name="android:background">?android:attr/colorBackground</item>
<item name="android:textColor">?android:attr/textColorPrimary</item>
</style>
@@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.LensaiWidget" parent="@style/Theme.Material3.DayNight.NoActionBar">
<style name="Theme.WebLibreWidget" parent="@style/Theme.Material3.DayNight.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
@@ -14,7 +14,7 @@
<!-- Customize your theme here. -->
</style>
<style name="Theme.LensaiWidget.AppWidgetContainerParent" parent="@android:style/Theme.DeviceDefault">
<style name="Theme.WebLibreWidget.AppWidgetContainerParent" parent="@android:style/Theme.DeviceDefault">
<!-- Radius of the outer bound of widgets to make the rounded corners -->
<item name="appWidgetRadius">16dp</item>
<!--
@@ -24,7 +24,7 @@
<item name="appWidgetInnerRadius">8dp</item>
</style>
<style name="Theme.LensaiWidget.AppWidgetContainer" parent="Theme.LensaiWidget.AppWidgetContainerParent">
<style name="Theme.WebLibreWidget.AppWidgetContainer" parent="Theme.WebLibreWidget.AppWidgetContainerParent">
<!-- Apply padding to avoid the content of the widget colliding with the rounded corners -->
<item name="appWidgetPadding">16dp</item>
</style>