-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Renaming files shows lots of changes, due to which its hard to review
- Loading branch information
Showing
11 changed files
with
682 additions
and
682 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,41 @@ | ||
// CountlyFeedbacks.h | ||
// CountlyFeedbacksInternal.h | ||
// | ||
// This code is provided under the MIT License. | ||
// | ||
// Please visit www.count.ly for more information. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "CountlyConfig.h" | ||
#import "CountlyFeedbackWidget.h" | ||
|
||
@interface CountlyFeedbacks: NSObject | ||
@class CountlyFeedbackWidget; | ||
|
||
extern NSString* const kCountlyFBKeyPlatform; | ||
extern NSString* const kCountlyFBKeyAppVersion; | ||
extern NSString* const kCountlyFBKeyWidgetID; | ||
extern NSString* const kCountlyFBKeyID; | ||
|
||
extern NSString* const kCountlyReservedEventStarRating; | ||
|
||
@interface CountlyFeedbacks : NSObject | ||
#if (TARGET_OS_IOS) | ||
+ (instancetype)sharedInstance; | ||
|
||
- (void) presentNPS; | ||
- (void) presentNPS:(NSString *)nameIDorTag; | ||
- (void) presentNPS:(NSString *)nameIDorTag widgetCallback:(WidgetCallback) widgetCallback; | ||
- (void)showDialog:(void(^)(NSInteger rating))completion; | ||
- (void)presentRatingWidgetWithID:(NSString *)widgetID closeButtonText:(NSString *)closeButtonText completionHandler:(void (^)(NSError * error))completionHandler; | ||
- (void)recordRatingWidgetWithID:(NSString *)widgetID rating:(NSInteger)rating email:(NSString *)email comment:(NSString *)comment userCanBeContacted:(BOOL)userCanBeContacted; | ||
- (void)checkForStarRatingAutoAsk; | ||
|
||
- (void)getFeedbackWidgets:(void (^)(NSArray <CountlyFeedbackWidget *> *feedbackWidgets, NSError *error))completionHandler; | ||
|
||
- (void) presentNPS:(NSString *)nameIDorTag widgetCallback:(WidgetCallback) wigetCallback; | ||
|
||
- (void) presentSurvey; | ||
- (void) presentSurvey:(NSString *)nameIDorTag; | ||
- (void) presentSurvey:(NSString *)nameIDorTag widgetCallback:(WidgetCallback) widgetCallback; | ||
- (void) presentSurvey:(NSString *)nameIDorTag widgetCallback:(WidgetCallback) wigetCallback; | ||
|
||
- (void) presentRating; | ||
- (void) presentRating:(NSString *)nameIDorTag; | ||
- (void) presentRating:(NSString *)nameIDorTag widgetCallback:(WidgetCallback) widgetCallback; | ||
- (void) presentRating:(NSString *)nameIDorTag widgetCallback:(WidgetCallback) wigetCallback; | ||
|
||
- (void)getAvailableFeedbackWidgets:(void (^)(NSArray <CountlyFeedbackWidget *> *feedbackWidgets, NSError * error))completionHandler; | ||
@property (nonatomic) NSString* message; | ||
@property (nonatomic) NSString* dismissButtonTitle; | ||
@property (nonatomic) NSUInteger sessionCount; | ||
@property (nonatomic) BOOL disableAskingForEachAppVersion; | ||
@property (nonatomic, copy) void (^ratingCompletionForAutoAsk)(NSInteger); | ||
#endif | ||
@end |
Oops, something went wrong.