github.com/wailsapp/wails/v3 v3.0.0-alpha.93
100+ functions have 50+ basic blocksAArch64 (ARM64) architecture string
SHA-256459ad08aaaa792da6e2d2c5748a73db7764b09ac7629b850ff3f5b19cd8446f8
Evidence
0# Wails v3 Android Architecture
## Executive Summary
This document provides a comprehensive technical architecture for Android support in Wails v3. The implementation enables Go applications to run natively on Android with an Android WebView frontend, maintaining the Wails philosophy of using web technologies for UI
1670mobile pattern**: Use `-buildmode=c-shared` for native library
### High-Level Architecture
```
┌─────────────────────────────────────────�
6715gs and handlers
loadApplication() // Load initial URL (https://wails.localhost/)
executeJavaScript(String) // Run JS code (called from Go via JNI)
onResume() / onPause() // Lifecycle events forwarded to
25709ils");
```
This makes `window.wails` available in JavaScript.
### Security Considerations
1. **@JavascriptInterface annotation** is required for all exposed methods (Android 4.2+)
2. Only specific methods are exposed
15:4… o "==============================="
16
17# Check for required tools
18check_command() {
19 if ! command -v $1 &> /dev/null; then
20 echo -e "${RED}Error: $1 is not installed${NC}"
21 exit 1
⋯7 lines
29
30# Configuration
31APP_NAME="${APP_NAME:-WailsIOSDemo}"
32BUNDLE_ID="${BUNDLE_ID:-com.wails.iosdemo}"
33BUILD_DIR="build/ios"
34SIMULATOR_SDK="iphonesimulator"
35MIN_IOS_VERSION="13.0"
36
37# Clean build directory
38echo "Cleaning build directory..."
39rm -rf $BUILD_DIR
40mkdir -p $BUILD_DIR
41
42# Create the iOS app structure
43echo "Creating iOS app structure..."
44APP_DIR="$BUILD_DIR/$APP_NAME.app"
45mkdir -p "$APP_DIR"
46
47# Create Info.plist
48echo "Creating Info.plist..."
49cat > "$BUILD_DIR/Info.plist" << EOF
50<?xml version="1.0" encoding="UTF-8"?>
51<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
52<plist version="1.0">
53<dict>
54 <key>CFBundleDevelopmentRegion</key>
55 <string>en</string>
56 <key>CFBundleExecutable</key>
57 <string>$APP_NAME</string>
58 <key>CFBundleIdentifier</key>
59 <string>$BUNDLE_ID</string>
60 <key>CFBundleInfoDic …
Showing the top 5 files — 8 more files (41 regions) not shown.
No evidence locations were recorded for this file. Raw result