Skip to content

Commit 5df7257

Browse files
committed
Integration Bugtags
Former-commit-id: 1afe51e
1 parent 59a77b5 commit 5df7257

File tree

126 files changed

+526
-39
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+526
-39
lines changed

MVVMReactiveCocoa/MRCAppDelegate.m

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
#import "MRCHomepageViewController.h"
1515
#import "MRCNavigationControllerStack.h"
1616
#import "MRCNavigationController.h"
17-
#import "Appirater.h"
17+
#import <Appirater/Appirater.h>
18+
#import <Bugtags/Bugtags.h>
1819

1920
@interface MRCAppDelegate ()
2021

@@ -47,6 +48,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
4748
[self configureReachability];
4849
[self configureUMengSocial];
4950
[self configureAppirater];
51+
[self configureBugtags];
5052

5153
// Save the application version info.
5254
[[NSUserDefaults standardUserDefaults] setValue:MRC_APP_VERSION forKey:MRCApplicationVersionKey];
@@ -138,6 +140,10 @@ - (void)configureAppirater {
138140
[Appirater appLaunched:YES];
139141
}
140142

143+
- (void)configureBugtags {
144+
[Bugtags startWithAppKey:MRC_BUGTAGS_APP_KEY invocationEvent:BTGInvocationEventNone];
145+
}
146+
141147
- (void)initializeFMDB {
142148
[[FMDatabaseQueue sharedInstance] inDatabase:^(FMDatabase *db) {
143149
NSString *version = [[NSUserDefaults standardUserDefaults] valueForKey:MRCApplicationVersionKey];

MVVMReactiveCocoa/Util/MRCConstant.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,17 @@ typedef id (^IDBlock_id) (id);
197197
#define MRC_FMDB_PATH [NSString stringWithFormat:@"%@/%@.db", MRC_DOCUMENT_DIRECTORY, MRC_APP_NAME]
198198
#define MRCLogLastError(db) NSLog(@"lastError: %@, lastErrorCode: %d, lastErrorMessage: %@", [db lastError], [db lastErrorCode], [db lastErrorMessage]);
199199

200-
//--------------
200+
///-------------
201201
/// Notification
202202
///-------------
203203

204204
#define MRCStarredReposDidChangeNotification @"MRCStarredReposDidChangeNotification"
205205
#define MRCRecentSearchesDidChangeNotification @"MRCRecentSearchesDidChangeNotification"
206206

207+
///--------
208+
/// Bugtags
209+
///--------
210+
211+
#define MRC_BUGTAGS_APP_KEY @"69f973866d636e2b4b3f42ef1ec2caec"
212+
207213
#endif

Podfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ pod 'DTCoreText', '~> 1.6.15'
2222
pod 'GPUImage', '~> 0.1.7'
2323
pod 'Reveal-iOS-SDK', '~> 1.6.0'
2424
pod 'Appirater'
25+
pod 'Bugtags'
2526
pod 'OcticonsIOS', :git => 'https://github.com/jacksonh/OcticonsIOS.git', :commit => '4bd3b21'

Podfile.lock

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
PODS:
22
- Appirater (2.0.5)
3+
- Bugtags (1.1.2)
34
- DTCoreText (1.6.16):
45
- DTFoundation/Core (~> 1.7.5)
56
- DTFoundation/DTAnimatedGIF (~> 1.7.5)
@@ -45,7 +46,7 @@ PODS:
4546
- OcticonsIOS (0.0.2)
4647
- Ono (1.2.2)
4748
- Reachability (3.1.1)
48-
- Reveal-iOS-SDK (1.6.0)
49+
- Reveal-iOS-SDK (1.6.1)
4950
- SDWebImage (3.7.3):
5051
- SDWebImage/Core (= 3.7.3)
5152
- SDWebImage/Core (3.7.3)
@@ -58,6 +59,7 @@ PODS:
5859

5960
DEPENDENCIES:
6061
- Appirater
62+
- Bugtags
6163
- DTCoreText (~> 1.6.15)
6264
- DZNEmptyDataSet (~> 1.5.1)
6365
- FDFullscreenPopGesture (~> 1.1)
@@ -89,6 +91,7 @@ CHECKOUT OPTIONS:
8991

9092
SPEC CHECKSUMS:
9193
Appirater: e7c0a47fb67ee5041ce8479e6ba960927fb40264
94+
Bugtags: 0a6b51a1298d32859b640a8901cdbdf822dac3e0
9295
DTCoreText: 934a16fe9ffdd169c96261721b39dc312b75713d
9396
DTFoundation: 46e2b2fafe78d67febfd8d1f85fe9845a093f00e
9497
DZNEmptyDataSet: 741da409081a4bf707c949c964623a6ad1799772
@@ -102,7 +105,7 @@ SPEC CHECKSUMS:
102105
OcticonsIOS: e21204b48b0d83f7740008abed42f8b1573b3ffc
103106
Ono: 80b1c686777d3f6d5d5ce6fcac8a74afef4ca197
104107
Reachability: dd9aa4fb6667b9f787690a74f53cb7634ce99893
105-
Reveal-iOS-SDK: 6afacafd60f66f2822c09c43ae60562881bfab6e
108+
Reveal-iOS-SDK: ceae964076cebe3efe63e5e9abe3152efce46aa8
106109
SDWebImage: 1d2b1a1efda1ade1b00b6f8498865f8ddedc8a84
107110
SSKeychain: 3f42991739c6c60a9cf1bbd4dff6c0d3694bcf3d
108111
SVPullToRefresh: ba2e718695a43253d8bea6852d2960097dc15d8c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Pods/Bugtags/Bugtags.bundle/Bugtags_dsym_autoupload.sh

Lines changed: 108 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
811 Bytes
1.16 KB
321 Bytes
255 Bytes
7.69 KB
Binary file not shown.
395 Bytes
1022 Bytes
722 Bytes
2.57 KB
140 Bytes
4.43 KB

Pods/Bugtags/Bugtags.bundle/en.lproj/Localizable.strings

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/Bugtags/Bugtags.bundle/zh-Hans.lproj/Localizable.strings

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/Bugtags/Bugtags.bundle/zh-Hant.lproj/Localizable.strings

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/Bugtags/Bugtags.framework/Bugtags

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/Bugtags/Bugtags.framework/Versions/A/Bugtags.REMOVED.git-id

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/Bugtags/Bugtags.framework/Versions/A/Headers/BTGConstants.h

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)