Skip to content

Commit

Permalink
chore(ios): add addFrameCallback method for devtools to avoid warning
Browse files Browse the repository at this point in the history
Note that the implementation of this method is empty
  • Loading branch information
wwwcg committed Jun 18, 2024
1 parent 201807b commit da3fbfa
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,13 @@ - (void)measureInAppWindow:(NSNumber *)componentTag
}];
}

HIPPY_EXPORT_METHOD(addFrameCallback:(nonnull NSNumber *)hippyTag
params:(NSDictionary *__nonnull)params
callback:(HippyPromiseResolveBlock)callback) {
// For devtools
// Leave the implementation empty for now.
}

#pragma mark - View properties

HIPPY_EXPORT_VIEW_PROPERTY(accessibilityLabel, NSString)
Expand Down

0 comments on commit da3fbfa

Please sign in to comment.