Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception handler for Telemetry SDK #123

Merged
merged 13 commits into from
Jun 4, 2019
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ fastlane/screenshots
fastlane/test_output

test_output/
docs/
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

mapbox-events-ios copyright (c) 2014-2017 Mapbox.
mapbox-events-ios copyright (c) 2014-2019 Mapbox.
alfwatt marked this conversation as resolved.
Show resolved Hide resolved

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Expand Down
11 changes: 0 additions & 11 deletions MMETestHost/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
//
// AppDelegate.h
// MMETestHost
//
// Created by Alf Watt on 4/4/19.
// Copyright © 2019 Mapbox. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;


@end

42 changes: 0 additions & 42 deletions MMETestHost/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -1,51 +1,9 @@
//
// AppDelegate.m
// MMETestHost
//
// Created by Alf Watt on 4/4/19.
// Copyright © 2019 Mapbox. All rights reserved.
//

#import "AppDelegate.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}


- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}


- (void)applicationDidEnterBackground:(UIApplication *)application {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}


- (void)applicationWillEnterForeground:(UIApplication *)application {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}


- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}


- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}


@end
2 changes: 1 addition & 1 deletion MMETestHost/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
<viewController id="BYZ-38-t0r" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="4ws-tq-5eL"/>
<viewControllerLayoutGuide type="bottom" id="mBJ-l0-d1x"/>
Expand Down
15 changes: 0 additions & 15 deletions MMETestHost/ViewController.h

This file was deleted.

23 changes: 0 additions & 23 deletions MMETestHost/ViewController.m

This file was deleted.

8 changes: 0 additions & 8 deletions MMETestHost/main.m
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
//
// main.m
// MMETestHost
//
// Created by Alf Watt on 4/4/19.
// Copyright © 2019 Mapbox. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"

Expand Down
32 changes: 32 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,35 @@ pod-lint:

.PHONE: preflight-checks
preflight-checks: pod-lint

DOCS_DIR := docs
DOCS_INDEX = $(DOCS_DIR)/index.html
DOCS_README = readme.md
DOCS_LICENSE = LICENSE.md
LOWDOWN_PATH = $(shell which lowdown)
MARKDOWN_PATH = $(shell which multimarkdown)

ifneq ($(LOWDOWN_PATH),)
MARKDOWN_TOOL = $(LOWDOWN_PATH)
MARKDOWN_ARGS = "-so"
else ifneq ($(MARKDOWN_PATH),)
MARKDOWN_TOOL = $(MARKDOWN_PATH)
MARKDOWN_ARGS = "-s"
endif

.PHONY: headerdoc
headerdoc:
find MapboxMobileEvents -type f -name '*.h' | xargs headerdoc2html -o $(DOCS_DIR)
gatherheaderdoc $(DOCS_DIR)

.PHONY: docindex
docindex:
echo "<html><head><title>MapboxMobileEvents</title><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"><body>" > $(DOCS_INDEX)
$(MARKDOWN_TOOL) $(MARKDOWN_ARGS) $(DOCS_README) >> $(DOCS_INDEX)
echo "<h2>License</h2><tt>" >> $(DOCS_INDEX)
$(MARKDOWN_TOOL) $(MARKDOWN_ARGS) $(DOCS_LICENSE) >> $(DOCS_INDEX)
echo "</tt></body></html>" >> $(DOCS_INDEX)

.PHONY: docs
docs: $(DOCS_DIR) headerdoc docindex
alfwatt marked this conversation as resolved.
Show resolved Hide resolved
open $(DOCS_INDEX)
Loading