default deployment on android and ios

This commit is contained in:
HAMZA ALSARSOUR 2026-02-19 07:49:12 +03:00
parent 9abb6eccb8
commit 3bee2c8ac9
16 changed files with 17 additions and 10 deletions

View file

@ -289,7 +289,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 8728U8N5VJ;
DEVELOPMENT_TEAM = 3JZ57KN2BP;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = NeonApp/Info.plist;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
@ -321,7 +321,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 8728U8N5VJ;
DEVELOPMENT_TEAM = 3JZ57KN2BP;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = NeonApp/Info.plist;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;

View file

@ -25,7 +25,7 @@ class ViewController: UIViewController, UITabBarDelegate {
private func fetchUiTree() {
// The iOS Simulator shares the Mac's localhost automatically!
guard let url = URL(string: "http://127.0.0.1:8080") else { return }
guard let url = URL(string: "https://custom-frameworks-neon-framework.iix8qf.easypanel.host/api/tree") else { return }
let task = URLSession.shared.dataTask(with: url) { [weak self] data, response, error in
guard let self = self else { return }
@ -1347,7 +1347,7 @@ class ViewController: UIViewController, UITabBarDelegate {
}
private func sendActionToDart(buttonId: String, index: Int? = nil, value: Any? = nil) {
guard let url = URL(string: "http://127.0.0.1:8080/action") else { return }
guard let url = URL(string: "https://custom-frameworks-neon-framework.iix8qf.easypanel.host/action") else { return }
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("application/json", forHTTPHeaderField: "Content-Type")

View file

@ -1,2 +1,2 @@
#Tue Feb 10 13:35:58 EET 2026
java.home=/Users/hamzaibrahim/Library/Java/JavaVirtualMachines/jbr-17.0.11/Contents/Home
#Thu Feb 19 06:51:16 EET 2026
java.home=/Applications/Android Studio.app/Contents/jbr/Contents/Home

View file

@ -36,7 +36,7 @@ class MainActivity : Activity() {
thread {
try {
// Connect to localhost:8080 (via adb reverse)
val url = URL("http://127.0.0.1:8080")
val url = URL("https://custom-frameworks-neon-framework.iix8qf.easypanel.host/api/tree")
val connection = url.openConnection() as HttpURLConnection
connection.requestMethod = "GET"
@ -71,7 +71,7 @@ class MainActivity : Activity() {
private fun sendAction(id: String, index: Int? = null, value: Any? = null) {
thread {
try {
val url = URL("http://127.0.0.1:8080/action")
val url = URL("https://custom-frameworks-neon-framework.iix8qf.easypanel.host/action")
val connection = url.openConnection() as HttpURLConnection
connection.requestMethod = "POST"
connection.doOutput = true

View file

@ -1,2 +1,9 @@
sdk.dir=/Users/hamzaibrahim/Library/Android/sdk
flutter.sdk=/Volumes/extendedT2nvme/flutter
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Thu Feb 19 06:51:20 EET 2026
flutter.sdk=/Volumes/extendedT2nvme/flutter
sdk.dir=/Users/hamzaalsarsour/Library/Android/sdk