Граф коммитов

131 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Scholtysik (Reimold) a51dc6f159 Merge remote-tracking branch 'origin/develop' into feature/make-SNMDevice-public 2016-10-20 16:06:13 -07:00
Benjamin Scholtysik (Reimold) 303eda2fce Expose SNMDevice with readable properties. 2016-10-20 10:24:40 -07:00
Jae Lim c938d879be Bring back error attachment method definitions and add implementations 2016-10-19 12:41:49 -07:00
Jae Lim 582e501c75 Use NSLog instead of internal log that is not exposed to public 2016-10-18 17:16:36 -07:00
Jae Lim 108e07cba1 Add user confirmation handler to Crashes 2016-10-18 11:18:32 -07:00
Jae Lim 06d44ae2dc Add attachmentWithCrashes and shouldProcessErrorReport for Crashes 2016-10-14 10:35:30 -07:00
Benjamin Scholtysik (Reimold) 52c36b1625 add DidSucceed and didFail callbacks 2016-10-12 19:02:39 -07:00
Benjamin Scholtysik (Reimold) 02f41a3f4e Merge remote-tracking branch 'origin/develop' into feature/will-send-callback
# Conflicts:
#	Puppet/Puppet/AppDelegate.m
#	SonomaCore/SonomaCore.xcodeproj/project.pbxproj
#	SonomaCore/SonomaCore/Internals/Channel/SNMChannelDefault.m
#	SonomaCore/SonomaCore/Internals/Channel/SNMLogManager.h
2016-10-12 17:16:06 -07:00
Benjamin Scholtysik (Reimold) 4c4206cc81 Add willSend-callback 2016-10-10 16:48:46 -07:00
Clement Polet c993581310 #275 Fix unit tests 2016-10-06 16:37:39 -07:00
Clement Polet 04db5b910b #275 Suspend log manager in background + various fixes
* Suspend log manager while in background and resume it while in foreground
* Fix race condition on analytics tracking APIs
* Fix the limit of logs per batch sometimes exceeded
* Force close storage files while max logs per batch is reached for consistency
* Fix channel flush won't flush all the logs
* Fix channel not flush when network is back
* Suspend channel while sender can't reach network
2016-10-06 16:21:15 -07:00
Jae Lim 71c7faacf8 Switch to prod environment 2016-09-29 12:08:42 -07:00
Clement Polet e4eab183cc Merge branch 'develop' into feature/delete-logs-on-disabled
Conflicts:
	SonomaCrashes/SonomaCrashes/SNMCrashes.h
2016-09-27 16:54:35 -07:00
Clement Polet f5d20931a1 #692 Don't allow enabling feature while core is disabled
* Print an ERROR log while enabling a feature but the core is disabled
* Add enabledStateUpdating boolean to indicate when the core is updating the enbaled state for itself and features
* Move is/setEnabled synchronize to the class methods to cover canBeUsed and other tests
* Add synchronize where missing on feature APIs
* Updating unit tests
2016-09-27 14:05:30 -07:00
Benjamin Scholtysik (Reimold) b6d512256f Use dwarf with dsym for debug and strip debug symbols for release build 2016-09-27 12:32:21 -07:00
Clement Polet c6f325be13 #305 Delete data while disabled
* Delete crashes while disabled
* Delete persisted sessions
* Add set/isEnabled switch to Puppet
* Optimize Puppet app a bit
* Add canBeUsed to core
2016-09-27 09:18:41 -07:00
Jae Lim b7bd193f53 Merge pull request #74 from Microsoft/feature/delete-logs-on-disabled
Feature/delete logs on disabled
2016-09-23 15:14:17 -07:00
Clement Polet 5d52e69fab Merge branch 'develop' into feature/delete-logs-on-disabled
Conflicts:
	SonomaCore/SonomaCore/Internals/Channel/SNMLogManager.h
	SonomaCrashes/SonomaCrashes/SNMCrashes.m
2016-09-22 15:57:05 -07:00
Jae Lim f1c2caf1b4 Add setServerUrl API 2016-09-22 11:48:54 -07:00
Benjamin Scholtysik (Reimold) 72bb68ca9e Cleanup crashesdelegate for now 2016-09-19 13:23:17 -07:00
Benjamin Scholtysik (Reimold) cf61ee43ae Add lastCrashReport-API 2016-09-16 11:38:16 -07:00
Jae Lim bf633d1550 Add code signing for Demo app 2016-09-15 16:13:01 -07:00
Clement Polet d8c62e2694 305# Delete any logs on Core disabled 2016-09-15 11:30:10 -07:00
Jae Lim add65aee00 Add overloaded method without properties for trackEvent and trackPage 2016-09-15 10:28:03 -07:00
Jae Lim 6e81426add Update project settings for Xcode 8 2016-09-14 15:06:13 -07:00
Jae Lim 16bd7158f1 Crashes API changes 2016-09-14 14:57:49 -07:00
Jae Lim b58b2b337f Rename remaining classes for Crashes 2016-09-14 12:32:51 -07:00
Jae Lim ce8c0ffe6c Rename prefix AVA to SNM and feature ErrorReporting to Crashes 2016-09-14 10:48:01 -07:00
Jae Lim dafc8bf819 Rename Avalanche to Sonoma 2016-09-13 17:52:08 -07:00
Jae Lim 4cdefdc52f Rename AvalancheErrorReporting to SonomaCrashes 2016-09-13 16:09:39 -07:00
Jae Lim 5c1da3dd44 Rename AvalancheAnalytics to SonomaAnalytics 2016-09-13 15:43:44 -07:00
Jae Lim 9231b26704 Rename AvalancheHub to SonomaCore 2016-09-13 15:29:32 -07:00
Benjamin Scholtysik (Reimold) e05eb78c6d Adding back the Puppet xcscheme which for unknown reasons, was missing 2016-08-26 17:51:36 -07:00
Benjamin Scholtysik (Reimold) 07b3502b90 Final renaming from crashes to errorreporting 2016-08-26 17:46:07 -07:00
Benjamin Scholtysik (Reimold) c48452a8a9 Renaming the directory to AvalancheErrorReporting and updating all the references 2016-08-26 17:30:27 -07:00
Benjamin Scholtysik (Reimold) af106ce5f0 more renaming - work in progress 2016-08-26 16:09:56 -07:00
Benjamin Scholtysik (Reimold) 6e366605a8 Renaming Crashes to ErrorReporting 2016-08-26 10:26:13 -07:00
Benjamin Scholtysik (Reimold) b9b66d99f8 Merge remote-tracking branch 'origin/develop' into feature/update-schema-files
# Conflicts:
#	AvalancheCrashes/AvalancheCrashes.xcodeproj/project.pbxproj
#	AvalancheCrashes/AvalancheCrashes/AVAErrorReporting.m
#	AvalancheCrashes/AvalancheCrashes/Internals/AVAErrorReportingPrivate.h
#	Demo/Demo/AppDelegate.m
#	Demo/Vendor/AvalancheAnalytics/AvalancheAnalytics.framework/Versions/A/AvalancheAnalytics
#	Demo/Vendor/AvalancheAnalytics/AvalancheAnalytics.framework/Versions/A/Headers/AVAAnalytics.h
#	Demo/Vendor/AvalancheAnalytics/AvalancheAnalytics.framework/Versions/A/Headers/AVAFeature.h
#	Demo/Vendor/AvalancheCrashes/AvalancheCrashes.framework/Versions/A/AvalancheCrashes
#	Demo/Vendor/AvalancheCrashes/AvalancheCrashes.framework/Versions/A/Headers/AVAErrorReporting.h
#	Demo/Vendor/AvalancheCrashes/AvalancheCrashes.framework/Versions/A/Headers/AVAFeature.h
#	Demo/Vendor/AvalancheCrashes/AvalancheCrashes.framework/Versions/A/Headers/AvalancheCrashes.h
#	Demo/Vendor/AvalancheHub/AvalancheHub.framework/Versions/A/AvalancheHub
#	Demo/Vendor/AvalancheHub/AvalancheHub.framework/Versions/A/Headers/AVAFeature.h
#	Puppet/Puppet/AppDelegate.m
2016-08-24 18:57:49 -07:00
Clement Polet 2747d43caa Merge branch 'develop' into persist-enabled
Conflicts:
	AvalancheHub/AvalancheHub.xcodeproj/project.pbxproj
	Demo/Vendor/AvalancheAnalytics/AvalancheAnalytics.framework/Versions/A/AvalancheAnalytics
	Demo/Vendor/AvalancheAnalytics/AvalancheAnalytics.framework/Versions/A/Headers/AVAAnalytics.h
	Demo/Vendor/AvalancheAnalytics/AvalancheAnalytics.framework/Versions/A/Headers/AVAFeature.h
	Demo/Vendor/AvalancheCrashes/AvalancheCrashes.framework/Versions/A/AvalancheCrashes
	Demo/Vendor/AvalancheCrashes/AvalancheCrashes.framework/Versions/A/Headers/AVACrashes.h
	Demo/Vendor/AvalancheCrashes/AvalancheCrashes.framework/Versions/A/Headers/AVAFeature.h
	Demo/Vendor/AvalancheHub/AvalancheHub.framework/Versions/A/AvalancheHub
	Demo/Vendor/AvalancheHub/AvalancheHub.framework/Versions/A/Headers/AVAAvalanche.h
	Demo/Vendor/AvalancheHub/AvalancheHub.framework/Versions/A/Headers/AVAFeature.h
	Puppet/Puppet/AppDelegate.m
2016-08-24 10:28:05 -07:00
Clement Polet 52d68ca9b4 Persist isEnabled state + factorise code between features
* Rename *Private to *Internal because it's also used by other components within the SDK
* Add AVAFeatureAbstract, AVAFeatureCommon and reuse AVAFeatureInternal to compose a feature abstraction
* Persist isEnabled state in User Preferences
* Add tests covering for AVAFeatureAbstract
* Fix some warnings
* Build frameworks while building Demo, no need to version binaries anymore
2016-08-24 09:07:55 -07:00
Benjamin Scholtysik (Reimold) 62cc5499c9 Rename AVACrashes to AVAErrorReporting 2016-08-18 16:32:54 -07:00
Benjamin Scholtysik (Reimold) 131dc102bb Switch params 2016-08-18 16:26:29 -07:00
Clement Polet a64a13f29c Merge pull request #39 from Microsoft/feature/create-test-crash-api
Feature/create test crash api
2016-08-17 17:09:02 -07:00
Benjamin Scholtysik (Reimold) f0fa8be0bf Adding generateTestCrash-usage to Puppet and some formatting. 2016-08-17 16:02:08 -07:00
Benjamin Scholtysik (Reimold) 929d0637c0 Fix deployment target for all targets. 2016-08-17 15:48:19 -07:00
Benjamin Scholtysik (Reimold) 60badc8cfc Set deployment target to iOS 8 for all projects 2016-08-12 11:39:45 -07:00
Benjamin Scholtysik (Reimold) 815e9363e6 Merge remote-tracking branch 'origin/develop' into feature/crashes-module
# Conflicts:
#	AvalancheAnalytics/AvalancheAnalytics.xcodeproj/project.pbxproj
#	AvalancheHub/AvalancheHub.xcodeproj/project.pbxproj
#	AvalancheHub/AvalancheHub/Internals/Model/AVADeviceLog.m
#	Demo/Demo/AppDelegate.m
#	Puppet/Puppet/AppDelegate.m
2016-08-05 15:41:00 -07:00
Mehrdad Mozafari 6a67081268 Updated the API name + file formating
-changed the API from use feature to start.
-changed app key to app secret.
2016-08-05 15:28:38 -07:00
Benjamin Scholtysik (Reimold) d1853cad8d Makre the app compile again 2016-08-05 15:16:36 -07:00
Benjamin Scholtysik (Reimold) 8e0c87eb46 Merge remote-tracking branch 'origin/feature/crashes-module' into feature/crashes-with-delegate
# Conflicts:
#	AvalancheCrashes/AvalancheCrashes/AVACrashes.h
2016-08-04 16:52:53 -07:00
Benjamin Scholtysik (Reimold) 0df97f73da add prototype implementation for user confirmation handler 2016-08-04 16:13:17 -07:00
Benjamin Scholtysik (Reimold) 1513ace424 Merge remote-tracking branch 'origin/develop' into feature/crashes-module
# Conflicts:
#	AvalancheCrashes/AvalancheCrashes/AVACrashes.m
2016-08-03 17:01:59 -07:00
Clement Polet 3101036248 Merge pull request #31 from Microsoft/fix-CI-testing
Fix ci testing
2016-08-03 16:45:36 -07:00
Benjamin Scholtysik (Reimold) 2368e23ff7 Clean up delegates prototype 2016-08-02 16:58:24 -07:00
Benjamin Scholtysik (Reimold) edcdb63cd6 Add prototype implementation of errrorloggingdelegate. Will compile but crash as impementation is empty. 2016-08-01 16:09:21 -07:00
Benjamin Scholtysik (Reimold) a2ead54ec4 Merge remote-tracking branch 'origin/develop' into feature/crashes-module
# Conflicts:
#	AvalancheCrashes/AvalancheCrashes.xcodeproj/project.pbxproj
#	Demo/Demo/AppDelegate.m
#	Demo/Vendor/AvalancheAnalytics.framework/Versions/A/AvalancheAnalytics
#	Demo/Vendor/AvalancheCrashes.framework/Versions/A/AvalancheCrashes
#	Demo/Vendor/AvalancheHub.framework/Versions/A/AvalancheHub
#	Puppet/Puppet.xcodeproj/project.pbxproj
2016-08-01 09:08:13 -07:00
Clement Polet 0b12fbc53f Remove all Apps scheme, not working with Bitrise 2016-07-29 17:03:38 -07:00
Clement Polet 2d8033ea5f Add main schemes to gather schemes from frameworks, libs and apps 2016-07-29 16:21:46 -07:00
Clement Polet 1707b419d5 Fix Puppet header issues on archiving 2016-07-29 10:45:25 -07:00
Clement Polet 0f45ce0212 Sharing SDK libs and test apps 2016-07-28 16:16:07 -07:00
Clement Polet 9ba59a6e96 Add public get install Id API
* Clean up AVAAvalanche
* Clean up AVADeviceTracker
* Set installId as a property of the Avalanche singleton
* Set static installId API to static Avalanche methods
* Add macro to get NSUUID object from string
* Add Unit tests for install Id
2016-07-28 07:59:49 -07:00
Clement Polet bb44045cdf Fix warnings
* Fix cast issue in Channel
* Fix various nullable incoherences
* Ignore false positive analyzer warning on AVALogContainer
* Fix asset issue with Puppet and Demo
2016-07-25 12:12:28 -07:00
Benjamin Scholtysik (Reimold) 2e7fde3924 Merge remote-tracking branch 'origin/develop' into feature/crashes-module
# Conflicts:
#	AvalancheAnalytics/AvalancheAnalytics.xcodeproj/project.pbxproj
#	AvalancheCrashes/AvalancheCrashes/AVACrashes.m
#	AvalancheHub/AvalancheHub/Internals/Model/AVAStartSessionLog.h
#	AvalancheHub/AvalancheHub/Internals/Model/AVAStartSessionLog.m
#	AvalancheHub/AvalancheHubTests/AVAStartSessionLogTests.m
#	Puppet/Puppet.xcodeproj/project.pbxproj
2016-07-21 18:22:40 -07:00
Mehrdad Mozafari c02d294deb Merge remote-tracking branch 'origin/develop' into feature/analytics-module
# Conflicts:
#	AvalancheHub/AvalancheHub/AVAAvalanche.m
#	AvalancheHub/AvalancheHub/Internals/AVAAvalanchePrivate.h
#	AvalancheHub/AvalancheHub/Internals/Session/AVASessionTracker.m
2016-07-21 17:56:05 -07:00
chrwend c1b44bb54b Add PLCrashReporter to Puppet/Demo app 2016-07-21 12:03:10 -07:00
Mehrdad Mozafari 43179e2f67 Analytivc Improvements
-Enabled auto page tracking(Swizzling)
-Enabled setEnable API for Hub and features
-Fixed isValid() log bug
-Improved Puppet app
-
2016-07-20 15:09:50 -07:00
Clement Polet 121dbbde6f Add carrierName, carrierCountry and appNamespace to device caracteristics 2016-07-19 15:51:27 -07:00
Mehrdad Mozafari b356f7bc0c fixed puppet app warning 2016-07-19 12:18:29 -07:00
Mehrdad Mozafari cd82e17637 Puppet App Improvements 2016-07-15 12:47:05 -07:00
Mehrdad Mozafari 71b85d09d4 SessionTracker class
-Introduced session tracked
-Unit test
2016-07-14 16:17:42 -07:00
Mehrdad Mozafari 0c9465cc1d API clean up + PR Review
- Decoupled Sender from singleton instance
- Updated the common feature API
2016-07-11 17:35:11 -07:00
Mehrdad Mozafari 76abd39f87 Added installed ID
-Changed appId to appKey
-Added util for NSUserDefaults
-changes the log type to lowercase
-Added new session ID creation logic
-Added install ID to Core model and persisted for the life time of the app(until uninstall)
2016-07-08 17:25:52 -07:00
Mehrdad Mozafari 20887855ec Code clean up 2016-07-08 10:37:42 -07:00
Mehrdad Mozafari 3a288b634a Hooked up Core module with Analytics 2016-07-07 23:45:41 -07:00
Mehrdad Mozafari cae3d63ba4 Added Analytics Module 2016-07-06 11:49:00 -07:00
Mehrdad Mozafari e1af772f39 Updated the Avalanche public API
-Added private methods
-code clanup
2016-06-30 12:03:25 -07:00
chrwend d41c83fff6 Reformat code 2016-06-29 15:52:10 -07:00
Mehrdad Mozafari 535f8ade43 Fixed Puppet app 2016-06-27 11:42:55 -07:00
Mehrdad Mozafari 0059a766f5 Revert "Fix Puppet application"
This reverts commit 3711eed8fb.
2016-06-27 11:19:47 -07:00
chrwend 3711eed8fb Fix Puppet application 2016-06-24 17:13:18 -07:00
Mehrdad Mozafari 55f3e95ca6 Introducing the Puppet app
-Puppet application enables using and debugging the libs in a separate application
2016-06-23 17:08:18 -07:00