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 icons and language files
Michael Rademaker1b456f13f6e3
diff --git a/console/generic_app/android/app/src/main/res/mipmap-hdpi/launcher_icon.png b/console/generic_app/android/app/src/main/res/mipmap-hdpi/launcher_icon.pngnew file mode 100644index 000000000..bca2ff676Binary files /dev/null and b/console/generic_app/android/app/src/main/res/mipmap-hdpi/launcher_icon.png differdiff --git a/console/generic_app/android/app/src/main/res/mipmap-mdpi/launcher_icon.png b/console/generic_app/android/app/src/main/res/mipmap-mdpi/launcher_icon.pngnew file mode 100644index 000000000..46ab91f30Binary files /dev/null and b/console/generic_app/android/app/src/main/res/mipmap-mdpi/launcher_icon.png differdiff --git a/console/generic_app/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png b/console/generic_app/android/app/src/main/res/mipmap-xhdpi/launcher_icon.pngnew file mode 100644index 000000000..7ecfa59d6Binary files /dev/null and b/console/generic_app/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png differdiff --git a/console/generic_app/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png b/console/generic_app/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.pngnew file mode 100644index 000000000..3751628ecBinary files /dev/null and b/console/generic_app/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png differdiff --git a/console/generic_app/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png b/console/generic_app/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.pngnew file mode 100644index 000000000..915769116Binary files /dev/null and b/console/generic_app/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png 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..73be244efBinary 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..f2760aabbBinary 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..a2cc0b23fBinary 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..7e0c2c5b1Binary 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..58f8bd66aBinary 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..004a59efbBinary 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..6188efe32Binary 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..a2cc0b23fBinary 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..836a0f2a5Binary 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..3ea720c8dBinary 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..5555b306dBinary 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..1c4541919Binary 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..2ff7a1988Binary 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..9fad14089Binary 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..3ea720c8dBinary 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..ea64ae16bBinary 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..bca2ff676Binary 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..3751628ecBinary 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..cc2343450Binary 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..3f720d0bcBinary 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..eda9d6e72Binary files /dev/null and b/console/generic_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differdiff --git a/console/generic_app/lib/generated/intl/messages_all.dart b/console/generic_app/lib/generated/intl/messages_all.dartnew file mode 100644index 000000000..be632e7fe--- /dev/null+++ b/console/generic_app/lib/generated/intl/messages_all.dart@@ -0,0 +1,67 @@+// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart+// This is a library that looks up messages for specific locales by+// delegating to the appropriate library.++// Ignore issues from commonly used lints in this file.+// ignore_for_file:implementation_imports, file_names, unnecessary_new+// ignore_for_file:unnecessary_brace_in_string_interps, directives_ordering+// ignore_for_file:argument_type_not_assignable, invalid_assignment+// ignore_for_file:prefer_single_quotes, prefer_generic_function_type_aliases+// ignore_for_file:comment_references++import 'dart:async';++import 'package:intl/intl.dart';+import 'package:intl/message_lookup_by_library.dart';+import 'package:intl/src/intl_helpers.dart';++import 'messages_en.dart' as messages_en;+import 'messages_nl.dart' as messages_nl;++typedef Future<dynamic> LibraryLoader();+Map<String, LibraryLoader> _deferredLibraries = {+ 'en': () => new Future.value(null),+ 'nl': () => new Future.value(null),+};++MessageLookupByLibrary _findExact(String localeName) {+ switch (localeName) {+ case 'en':+ return messages_en.messages;+ case 'nl':+ return messages_nl.messages;+ default:+ return null;+ }+}++/// User programs should call this before using [localeName] for messages.+Future<bool> initializeMessages(String localeName) async {+ var availableLocale = Intl.verifiedLocale(+ localeName,+ (locale) => _deferredLibraries[locale] != null,+ onFailure: (_) => null);+ if (availableLocale == null) {+ return new Future.value(false);+ }+ var lib = _deferredLibraries[availableLocale];+ await (lib == null ? new Future.value(false) : lib());+ initializeInternalMessageLookup(() => new CompositeMessageLookup());+ messageLookup.addLocale(availableLocale, _findGeneratedMessagesFor);+ return new Future.value(true);+}++bool _messagesExistFor(String locale) {+ try {+ return _findExact(locale) != null;+ } catch (e) {+ return false;+ }+}++MessageLookupByLibrary _findGeneratedMessagesFor(String locale) {+ var actualLocale = Intl.verifiedLocale(locale, _messagesExistFor,+ onFailure: (_) => null);+ if (actualLocale == null) return null;+ return _findExact(actualLocale);+}diff --git a/console/generic_app/lib/generated/intl/messages_en.dart b/console/generic_app/lib/generated/intl/messages_en.dartnew file mode 100644index 000000000..b379a918b--- /dev/null+++ b/console/generic_app/lib/generated/intl/messages_en.dart@@ -0,0 +1,29 @@+// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart+// This is a library that provides messages for a en locale. All the+// messages from the main program should be duplicated here with the same+// function name.++// Ignore issues from commonly used lints in this file.+// ignore_for_file:unnecessary_brace_in_string_interps, unnecessary_new+// ignore_for_file:prefer_single_quotes,comment_references, directives_ordering+// ignore_for_file:annotate_overrides,prefer_generic_function_type_aliases+// ignore_for_file:unused_import, file_names++import 'package:intl/intl.dart';+import 'package:intl/message_lookup_by_library.dart';++final messages = new MessageLookup();++typedef String MessageIfAbsent(String messageStr, List<dynamic> args);++class MessageLookup extends MessageLookupByLibrary {+ String get localeName => 'en';++ final messages = _notInlinedMessages(_notInlinedMessages);+ static _notInlinedMessages(_) => <String, Function> {+ "connect" : MessageLookupByLibrary.simpleMessage("Connect"),+ "connectToYourApplication" : MessageLookupByLibrary.simpleMessage("Connect to your application"),+ "project" : MessageLookupByLibrary.simpleMessage("Project"),+ "realm" : MessageLookupByLibrary.simpleMessage("Realm")+ };+}diff --git a/console/generic_app/lib/generated/intl/messages_nl.dart b/console/generic_app/lib/generated/intl/messages_nl.dartnew file mode 100644index 000000000..4120a7c12--- /dev/null+++ b/console/generic_app/lib/generated/intl/messages_nl.dart@@ -0,0 +1,29 @@+// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart+// This is a library that provides messages for a nl locale. All the+// messages from the main program should be duplicated here with the same+// function name.++// Ignore issues from commonly used lints in this file.+// ignore_for_file:unnecessary_brace_in_string_interps, unnecessary_new+// ignore_for_file:prefer_single_quotes,comment_references, directives_ordering+// ignore_for_file:annotate_overrides,prefer_generic_function_type_aliases+// ignore_for_file:unused_import, file_names++import 'package:intl/intl.dart';+import 'package:intl/message_lookup_by_library.dart';++final messages = new MessageLookup();++typedef String MessageIfAbsent(String messageStr, List<dynamic> args);++class MessageLookup extends MessageLookupByLibrary {+ String get localeName => 'nl';++ final messages = _notInlinedMessages(_notInlinedMessages);+ static _notInlinedMessages(_) => <String, Function> {+ "connect" : MessageLookupByLibrary.simpleMessage("Verbind"),+ "connectToYourApplication" : MessageLookupByLibrary.simpleMessage("Verbind met jouw applicatie"),+ "project" : MessageLookupByLibrary.simpleMessage("Project"),+ "realm" : MessageLookupByLibrary.simpleMessage("Realm")+ };+}diff --git a/console/generic_app/lib/generated/l10n.dart b/console/generic_app/lib/generated/l10n.dartnew file mode 100644index 000000000..23655b73b--- /dev/null+++ b/console/generic_app/lib/generated/l10n.dart@@ -0,0 +1,104 @@+// GENERATED CODE - DO NOT MODIFY BY HAND+import 'package:flutter/material.dart';+import 'package:intl/intl.dart';+import 'intl/messages_all.dart';++// **************************************************************************+// Generator: Flutter Intl IDE plugin+// Made by Localizely+// **************************************************************************++// ignore_for_file: non_constant_identifier_names, lines_longer_than_80_chars++class S {+ S();++ static S current;++ static const AppLocalizationDelegate delegate =+ AppLocalizationDelegate();++ static Future<S> load(Locale locale) {+ final name = (locale.countryCode?.isEmpty ?? false) ? locale.languageCode : locale.toString();+ final localeName = Intl.canonicalizedLocale(name);+ return initializeMessages(localeName).then((_) {+ Intl.defaultLocale = localeName;+ S.current = S();++ return S.current;+ });+ }++ static S of(BuildContext context) {+ return Localizations.of<S>(context, S);+ }++ /// `Connect to your application`+ String get connectToYourApplication {+ return Intl.message(+ 'Connect to your application',+ name: 'connectToYourApplication',+ desc: '',+ args: [],+ );+ }++ /// `Project`+ String get project {+ return Intl.message(+ 'Project',+ name: 'project',+ desc: '',+ args: [],+ );+ }++ /// `Realm`+ String get realm {+ return Intl.message(+ 'Realm',+ name: 'realm',+ desc: '',+ args: [],+ );+ }++ /// `Connect`+ String get connect {+ return Intl.message(+ 'Connect',+ name: 'connect',+ desc: '',+ args: [],+ );+ }+}++class AppLocalizationDelegate extends LocalizationsDelegate<S> {+ const AppLocalizationDelegate();++ List<Locale> get supportedLocales {+ return const <Locale>[+ Locale.fromSubtags(languageCode: 'en'),+ Locale.fromSubtags(languageCode: 'nl'),+ ];+ }++ @override+ bool isSupported(Locale locale) => _isSupported(locale);+ @override+ Future<S> load(Locale locale) => S.load(locale);+ @override+ bool shouldReload(AppLocalizationDelegate old) => false;++ bool _isSupported(Locale locale) {+ if (locale != null) {+ for (var supportedLocale in supportedLocales) {+ if (supportedLocale.languageCode == locale.languageCode) {+ return true;+ }+ }+ }+ return false;+ }+}\ No newline at end of file