This app provides monitoring and information features for the common freifunk user and the technical stuff of a freifunk community.
Code base is taken from a TUM Practical Course project and added here to see if Freifunk Altdorf can use it.
https://www.freifunk-altdorf.de
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
35 lines
1.2 KiB
/** |
|
* Copyright (c) 2015-present, Facebook, Inc. |
|
* |
|
* This source code is licensed under the MIT license found in the |
|
* LICENSE file in the root directory of this source tree. |
|
*/ |
|
|
|
#import "AppDelegate.h" |
|
|
|
#import <React/RCTBundleURLProvider.h> |
|
#import <React/RCTRootView.h> |
|
|
|
@implementation AppDelegate |
|
|
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
|
{ |
|
NSURL *jsCodeLocation; |
|
|
|
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; |
|
|
|
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation |
|
moduleName:@"AweomeProject" |
|
initialProperties:nil |
|
launchOptions:launchOptions]; |
|
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; |
|
|
|
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; |
|
UIViewController *rootViewController = [UIViewController new]; |
|
rootViewController.view = rootView; |
|
self.window.rootViewController = rootViewController; |
|
[self.window makeKeyAndVisible]; |
|
return YES; |
|
} |
|
|
|
@end
|
|
|