default deployment on android and ios
This commit is contained in:
parent
9abb6eccb8
commit
3bee2c8ac9
16 changed files with 17 additions and 10 deletions
|
|
@ -289,7 +289,7 @@
|
||||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
DEVELOPMENT_TEAM = 8728U8N5VJ;
|
DEVELOPMENT_TEAM = 3JZ57KN2BP;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_FILE = NeonApp/Info.plist;
|
INFOPLIST_FILE = NeonApp/Info.plist;
|
||||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||||
|
|
@ -321,7 +321,7 @@
|
||||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
DEVELOPMENT_TEAM = 8728U8N5VJ;
|
DEVELOPMENT_TEAM = 3JZ57KN2BP;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_FILE = NeonApp/Info.plist;
|
INFOPLIST_FILE = NeonApp/Info.plist;
|
||||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ class ViewController: UIViewController, UITabBarDelegate {
|
||||||
|
|
||||||
private func fetchUiTree() {
|
private func fetchUiTree() {
|
||||||
// The iOS Simulator shares the Mac's localhost automatically!
|
// 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
|
let task = URLSession.shared.dataTask(with: url) { [weak self] data, response, error in
|
||||||
guard let self = self else { return }
|
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) {
|
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)
|
var request = URLRequest(url: url)
|
||||||
request.httpMethod = "POST"
|
request.httpMethod = "POST"
|
||||||
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
|
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,2 +1,2 @@
|
||||||
#Tue Feb 10 13:35:58 EET 2026
|
#Thu Feb 19 06:51:16 EET 2026
|
||||||
java.home=/Users/hamzaibrahim/Library/Java/JavaVirtualMachines/jbr-17.0.11/Contents/Home
|
java.home=/Applications/Android Studio.app/Contents/jbr/Contents/Home
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -36,7 +36,7 @@ class MainActivity : Activity() {
|
||||||
thread {
|
thread {
|
||||||
try {
|
try {
|
||||||
// Connect to localhost:8080 (via adb reverse)
|
// 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
|
val connection = url.openConnection() as HttpURLConnection
|
||||||
connection.requestMethod = "GET"
|
connection.requestMethod = "GET"
|
||||||
|
|
||||||
|
|
@ -71,7 +71,7 @@ class MainActivity : Activity() {
|
||||||
private fun sendAction(id: String, index: Int? = null, value: Any? = null) {
|
private fun sendAction(id: String, index: Int? = null, value: Any? = null) {
|
||||||
thread {
|
thread {
|
||||||
try {
|
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
|
val connection = url.openConnection() as HttpURLConnection
|
||||||
connection.requestMethod = "POST"
|
connection.requestMethod = "POST"
|
||||||
connection.doOutput = true
|
connection.doOutput = true
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,9 @@
|
||||||
sdk.dir=/Users/hamzaibrahim/Library/Android/sdk
|
## 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
|
flutter.sdk=/Volumes/extendedT2nvme/flutter
|
||||||
|
sdk.dir=/Users/hamzaalsarsour/Library/Android/sdk
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue