Skip to content

Commit 65fcb14

Browse files
chore(ios): deprecate execution traces APIs
Deprecate execution traces in favor of AppFlows APIs.
1 parent b3845d8 commit 65fcb14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ios/RNInstabug/InstabugAPMBridge.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
- (void)setAutoUITraceEnabled:(BOOL)isEnabled;
1818
- (void)startExecutionTrace:(NSString *)name :(NSString *)id
1919
:(RCTPromiseResolveBlock)resolve
20-
:(RCTPromiseRejectBlock)reject;
20+
:(RCTPromiseRejectBlock)reject DEPRECATED_MSG_ATTRIBUTE("Please use APM.startFlow instead.");
2121
- (void)setExecutionTraceAttribute:(NSString *)id:(NSString *)key
22-
:(NSString *)value;
23-
- (void)endExecutionTrace:(NSString *)id;
22+
:(NSString *)value DEPRECATED_MSG_ATTRIBUTE("Please use APM.setTraceAttribute instead.");
23+
- (void)endExecutionTrace:(NSString *)id DEPRECATED_MSG_ATTRIBUTE("Please use APM.endFlow instead.");
2424
- (void)startUITrace:(NSString *)name;
2525
- (void)endUITrace;
2626

0 commit comments

Comments
 (0)