Skip to content

Commit

Permalink
Rebrand android editor to allow play store signing
Browse files Browse the repository at this point in the history
Co-authored-by: Spartan322 <[email protected]>
  • Loading branch information
trashguy and Spartan322 committed Nov 13, 2024
1 parent afc82bc commit 621c8c8
Show file tree
Hide file tree
Showing 80 changed files with 267 additions and 267 deletions.
2 changes: 1 addition & 1 deletion modules/text_server_adv/gdextension_build/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ if env["platform"] == "macos":
methods.write_macos_plist(
f'./bin/libtextserver_advanced.macos.{env["target"]}.framework',
f'libtextserver_advanced.macos.{env["target"]}',
"org.godotengine.textserver_advanced",
"org.redotengine.textserver_advanced",
"ICU / HarfBuzz / Graphite Text Server",
)
library = env.SharedLibrary(
Expand Down
2 changes: 1 addition & 1 deletion modules/text_server_fb/gdextension_build/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ if env["platform"] == "macos":
methods.write_macos_plist(
f'./bin/libtextserver_fallback.macos.{env["target"]}.framework',
f'libtextserver_fallback.macos.{env["target"]}',
"org.godotengine.textserver_fallback",
"org.redotengine.textserver_fallback",
"Fallback Text Server",
)
library = env.SharedLibrary(
Expand Down
2 changes: 1 addition & 1 deletion platform/android/java/app/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<!-- Records the version of the Godot editor used for building -->
<meta-data
android:name="org.godotengine.editor.version"
android:name="org.redotengine.editor.version"
android:value="${godotEditorVersion}" />

<activity
Expand Down
4 changes: 2 additions & 2 deletions platform/android/java/app/src/com/godot/game/GodotApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@

package com.godot.game;

import org.godotengine.godot.GodotActivity;

import android.os.Bundle;

import androidx.core.splashscreen.SplashScreen;

import org.redotengine.godot.GodotActivity;

/**
* Template activity for Godot Android builds.
* Feel free to extend and modify this class for your custom logic.
Expand Down
8 changes: 4 additions & 4 deletions platform/android/java/editor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,19 @@ android {
buildToolsVersion versions.buildTools
ndkVersion versions.ndkVersion

namespace = "org.godotengine.editor"
namespace = "org.redotengine.editor"

defaultConfig {
// The 'applicationId' suffix allows to install Godot 3.x(v3) and 4.x(v4) on the same device
applicationId "org.godotengine.editor.v4"
// The 'applicationId' suffix allows to install Redot 3.x(v3) and 4.x(v4) on the same device
applicationId "org.redotengine.editor.v4"
versionCode generateVersionCode()
versionName generateVersionName()
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk

missingDimensionStrategy 'products', 'editor'
manifestPlaceholders += [
editorAppName: "Godot Editor 4",
editorAppName: "Redot Editor 4",
editorBuildSuffix: ""
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.editor
package org.redotengine.editor

import android.annotation.SuppressLint
import android.content.Intent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.editor
package org.redotengine.editor

/**
* Specifies the policy for launches.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.editor
package org.redotengine.editor

import android.Manifest
import android.app.ActivityManager
Expand All @@ -46,10 +46,10 @@ import android.widget.Toast
import androidx.annotation.CallSuper
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
import androidx.window.layout.WindowMetricsCalculator
import org.godotengine.godot.GodotActivity
import org.godotengine.godot.GodotLib
import org.godotengine.godot.utils.PermissionsUtil
import org.godotengine.godot.utils.ProcessPhoenix
import org.redotengine.godot.GodotActivity
import org.redotengine.godot.GodotLib
import org.redotengine.godot.utils.PermissionsUtil
import org.redotengine.godot.utils.ProcessPhoenix
import java.util.*
import kotlin.math.min

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.editor
package org.redotengine.editor

import android.annotation.SuppressLint
import android.app.PictureInPictureParams
Expand All @@ -40,7 +40,7 @@ import android.os.Build
import android.os.Bundle
import android.util.Log
import android.view.View
import org.godotengine.godot.GodotLib
import org.redotengine.godot.GodotLib

/**
* Drives the 'run project' window of the Godot Editor.
Expand Down
2 changes: 1 addition & 1 deletion platform/android/java/lib/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<!-- Records the version of the Godot library -->
<meta-data
android:name="org.godotengine.library.version"
android:name="org.redotengine.library.version"
android:value="${godotLibraryVersion}" />

<service android:name=".GodotDownloaderService" />
Expand Down
2 changes: 1 addition & 1 deletion platform/android/java/lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {
manifestPlaceholders = [godotLibraryVersion: getGodotLibraryVersionName()]
}

namespace = "org.godotengine.godot"
namespace = "org.redotengine.godot"

compileOptions {
sourceCompatibility versions.javaVersion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ index e4b1b0f1c..36cd6aacf 100644
-import com.android.vending.expansion.downloader.R;
+// -- GODOT start --
+//import com.android.vending.expansion.downloader.R;
+import org.godotengine.godot.R;
+import org.redotengine.godot.R;
+// -- GODOT end --

import java.io.File;
Expand Down Expand Up @@ -250,7 +250,7 @@ index f1536e80e..4b214b22d 100644
-import com.android.vending.expansion.downloader.R;
+// -- GODOT start --
+//import com.android.vending.expansion.downloader.R;
+import org.godotengine.godot.R;
+import org.redotengine.godot.R;
+// -- GODOT end --
+
import com.google.android.vending.expansion.downloader.DownloadProgressInfo;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ index a0d2779af..a8bf65f9c 100644
*/

+// -- GODOT start --
import org.godotengine.godot.BuildConfig;
import org.redotengine.godot.BuildConfig;
+// -- GODOT end --
+
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

// -- GODOT start --
//import com.android.vending.expansion.downloader.R;
import org.godotengine.godot.R;
import org.redotengine.godot.R;
// -- GODOT end --

import java.io.File;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

// -- GODOT start --
//import com.android.vending.expansion.downloader.R;
import org.godotengine.godot.R;
import org.redotengine.godot.R;
// -- GODOT end --

import com.google.android.vending.expansion.downloader.DownloadProgressInfo;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
*/

// -- GODOT start --
import org.godotengine.godot.BuildConfig;
import org.redotengine.godot.BuildConfig;
// -- GODOT end --

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.godot;
package org.redotengine.godot;

import java.util.HashMap;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.godot;
package org.redotengine.godot;

/**
* Base abstract activity for Android apps intending to use Godot as the primary screen.
Expand Down
32 changes: 16 additions & 16 deletions platform/android/java/lib/src/org/godotengine/godot/Godot.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.godot
package org.redotengine.godot

import android.annotation.SuppressLint
import android.app.Activity
Expand All @@ -54,21 +54,21 @@ import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsAnimationCompat
import androidx.core.view.WindowInsetsCompat
import com.google.android.vending.expansion.downloader.*
import org.godotengine.godot.input.GodotEditText
import org.godotengine.godot.io.directory.DirectoryAccessHandler
import org.godotengine.godot.io.file.FileAccessHandler
import org.godotengine.godot.plugin.GodotPluginRegistry
import org.godotengine.godot.tts.GodotTTS
import org.godotengine.godot.utils.CommandLineFileParser
import org.godotengine.godot.utils.GodotNetUtils
import org.godotengine.godot.utils.PermissionsUtil
import org.godotengine.godot.utils.PermissionsUtil.requestPermission
import org.godotengine.godot.utils.beginBenchmarkMeasure
import org.godotengine.godot.utils.benchmarkFile
import org.godotengine.godot.utils.dumpBenchmark
import org.godotengine.godot.utils.endBenchmarkMeasure
import org.godotengine.godot.utils.useBenchmark
import org.godotengine.godot.xr.XRMode
import org.redotengine.godot.input.GodotEditText
import org.redotengine.godot.io.directory.DirectoryAccessHandler
import org.redotengine.godot.io.file.FileAccessHandler
import org.redotengine.godot.plugin.GodotPluginRegistry
import org.redotengine.godot.tts.GodotTTS
import org.redotengine.godot.utils.CommandLineFileParser
import org.redotengine.godot.utils.GodotNetUtils
import org.redotengine.godot.utils.PermissionsUtil
import org.redotengine.godot.utils.PermissionsUtil.requestPermission
import org.redotengine.godot.utils.beginBenchmarkMeasure
import org.redotengine.godot.utils.benchmarkFile
import org.redotengine.godot.utils.dumpBenchmark
import org.redotengine.godot.utils.endBenchmarkMeasure
import org.redotengine.godot.utils.useBenchmark
import org.redotengine.godot.xr.XRMode
import java.io.File
import java.io.FileInputStream
import java.io.InputStream
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.godot
package org.redotengine.godot

import android.app.Activity
import android.content.Intent
Expand All @@ -40,8 +40,8 @@ import android.util.Log
import androidx.annotation.CallSuper
import androidx.annotation.LayoutRes
import androidx.fragment.app.FragmentActivity
import org.godotengine.godot.utils.PermissionsUtil
import org.godotengine.godot.utils.ProcessPhoenix
import org.redotengine.godot.utils.PermissionsUtil
import org.redotengine.godot.utils.ProcessPhoenix

/**
* Base abstract activity for Android apps intending to use Godot as the primary screen.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.godot;
package org.redotengine.godot;

import android.content.BroadcastReceiver;
import android.content.Context;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.godot;
package org.redotengine.godot;

import android.content.Context;
import android.content.SharedPreferences;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.godot;

import org.godotengine.godot.plugin.GodotPlugin;
import org.godotengine.godot.utils.BenchmarkUtils;
package org.redotengine.godot;

import android.app.Activity;
import android.app.PendingIntent;
Expand Down Expand Up @@ -72,6 +69,9 @@
import java.util.Locale;
import java.util.Set;

import org.redotengine.godot.plugin.GodotPlugin;
import org.redotengine.godot.utils.BenchmarkUtils;

/**
* Base fragment for Android apps intending to use Godot for part of the app's UI.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.godot;

import org.godotengine.godot.gl.GLSurfaceView;
import org.godotengine.godot.gl.GodotRenderer;
import org.godotengine.godot.input.GodotInputHandler;
import org.godotengine.godot.xr.XRMode;
import org.godotengine.godot.xr.ovr.OvrConfigChooser;
import org.godotengine.godot.xr.ovr.OvrContextFactory;
import org.godotengine.godot.xr.ovr.OvrWindowSurfaceFactory;
import org.godotengine.godot.xr.regular.RegularConfigChooser;
import org.godotengine.godot.xr.regular.RegularContextFactory;
import org.godotengine.godot.xr.regular.RegularFallbackConfigChooser;
package org.redotengine.godot;

import android.annotation.SuppressLint;
import android.content.res.AssetManager;
Expand All @@ -60,6 +49,17 @@

import java.io.InputStream;

import org.redotengine.godot.gl.GLSurfaceView;
import org.redotengine.godot.gl.GodotRenderer;
import org.redotengine.godot.input.GodotInputHandler;
import org.redotengine.godot.xr.XRMode;
import org.redotengine.godot.xr.ovr.OvrConfigChooser;
import org.redotengine.godot.xr.ovr.OvrContextFactory;
import org.redotengine.godot.xr.ovr.OvrWindowSurfaceFactory;
import org.redotengine.godot.xr.regular.RegularConfigChooser;
import org.redotengine.godot.xr.regular.RegularContextFactory;
import org.redotengine.godot.xr.regular.RegularFallbackConfigChooser;

/**
* A simple GLSurfaceView sub-class that demonstrate how to perform
* OpenGL ES 2.0 rendering into a GL Surface. Note the following important
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.godot;

import org.godotengine.godot.plugin.GodotPlugin;
package org.redotengine.godot;

import android.app.Activity;

import java.util.Collections;
import java.util.List;
import java.util.Set;

import org.redotengine.godot.plugin.GodotPlugin;

/**
* Denotate a component (e.g: Activity, Fragment) that hosts the {@link Godot} engine.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

package org.godotengine.godot;

import org.godotengine.godot.input.GodotEditText;
package org.redotengine.godot;

import android.app.Activity;
import android.content.ActivityNotFoundException;
Expand All @@ -57,6 +55,8 @@
import java.util.List;
import java.util.Locale;

import org.redotengine.godot.input.GodotEditText;

// Wrapper for native library

public class GodotIO {
Expand Down
Loading

0 comments on commit 621c8c8

Please sign in to comment.