100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Added missing files for generic app
Michael Rademakerca0034299a74
diff --git a/console/generic_app/android/app/src/main/kotlin/io/openremote/generic_app/MainActivity.kt b/console/generic_app/android/app/src/main/kotlin/io/openremote/generic_app/MainActivity.ktnew file mode 100644index 000000000..550d3d1b2--- /dev/null+++ b/console/generic_app/android/app/src/main/kotlin/io/openremote/generic_app/MainActivity.kt@@ -0,0 +1,12 @@+package io.openremote.generic_app++import androidx.annotation.NonNull;+import io.flutter.embedding.android.FlutterActivity+import io.flutter.embedding.engine.FlutterEngine+import io.flutter.plugins.GeneratedPluginRegistrant++class MainActivity: FlutterActivity() {+ override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {+ GeneratedPluginRegistrant.registerWith(flutterEngine);+ }+}diff --git a/console/generic_app/android/gradle.properties b/console/generic_app/android/gradle.propertiesnew file mode 100644index 000000000..38c8d4544--- /dev/null+++ b/console/generic_app/android/gradle.properties@@ -0,0 +1,4 @@+org.gradle.jvmargs=-Xmx1536M+android.enableR8=true+android.useAndroidX=true+android.enableJetifier=truediff --git a/console/generic_app/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/console/generic_app/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plistnew file mode 100644index 000000000..18d981003--- /dev/null+++ b/console/generic_app/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist@@ -0,0 +1,8 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">+<plist version="1.0">+<dict>+ <key>IDEDidComputeMac32BitWarning</key>+ <true/>+</dict>+</plist>diff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..dc9ada472Binary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..28c6bf030Binary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..2ccbfd967Binary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..f091b6b0bBinary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..4cde12118Binary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..d0ef06e7eBinary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..dcdc2306cBinary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..2ccbfd967Binary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..c8f9ed8f5Binary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..a6d6b8609Binary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..a6d6b8609Binary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..75b2d164aBinary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..c4df70d39Binary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..6a84f41e1Binary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]new file mode 100644index 000000000..d0e1f5853Binary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/console/generic_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.pngnew file mode 100644index 000000000..9da19eacaBinary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]new file mode 100644index 000000000..9da19eacaBinary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/console/generic_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]new file mode 100644index 000000000..9da19eacaBinary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] differdiff --git a/console/generic_app/ios/Runner/Info.plist b/console/generic_app/ios/Runner/Info.plistnew file mode 100644index 000000000..b0b8452f2--- /dev/null+++ b/console/generic_app/ios/Runner/Info.plist@@ -0,0 +1,59 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">+<plist version="1.0">+<dict>+ <key>CFBundleDevelopmentRegion</key>+ <string>$(DEVELOPMENT_LANGUAGE)</string>+ <key>CFBundleExecutable</key>+ <string>$(EXECUTABLE_NAME)</string>+ <key>CFBundleIdentifier</key>+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>+ <key>CFBundleInfoDictionaryVersion</key>+ <string>6.0</string>+ <key>CFBundleName</key>+ <string>generic_app</string>+ <key>CFBundlePackageType</key>+ <string>APPL</string>+ <key>CFBundleShortVersionString</key>+ <string>$(FLUTTER_BUILD_NAME)</string>+ <key>CFBundleSignature</key>+ <string>????</string>+ <key>CFBundleVersion</key>+ <string>$(FLUTTER_BUILD_NUMBER)</string>+ <key>LSRequiresIPhoneOS</key>+ <true/>+ <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>+ <string>Location is needed in order to get updates on surveys</string>+ <key>NSLocationAlwaysUsageDescription</key>+ <string>Location is needed in order to get updates on surveys</string>+ <key>NSLocationUsageDescription</key>+ <string>Location is needed in order to get updates on surveys</string>+ <key>NSLocationWhenInUseUsageDescription</key>+ <string>Location is needed in order to get updates on surveys</string>+ <key>UIBackgroundModes</key>+ <array>+ <string>location</string>+ </array>+ <key>UILaunchStoryboardName</key>+ <string>LaunchScreen</string>+ <key>UIMainStoryboardFile</key>+ <string>Main</string>+ <key>UISupportedInterfaceOrientations</key>+ <array>+ <string>UIInterfaceOrientationPortrait</string>+ <string>UIInterfaceOrientationLandscapeLeft</string>+ <string>UIInterfaceOrientationLandscapeRight</string>+ </array>+ <key>UISupportedInterfaceOrientations~ipad</key>+ <array>+ <string>UIInterfaceOrientationPortrait</string>+ <string>UIInterfaceOrientationPortraitUpsideDown</string>+ <string>UIInterfaceOrientationLandscapeLeft</string>+ <string>UIInterfaceOrientationLandscapeRight</string>+ </array>+ <key>UIViewControllerBasedStatusBarAppearance</key>+ <false/>+ <key>io.flutter.embedded_views_preview</key>+ <true/>+</dict>+</plist>