We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a411980 commit 2f3442bCopy full SHA for 2f3442b
iOS_SDK/OneSignalSDK/Source/OSInAppMessageView.m
@@ -81,15 +81,14 @@ - (NSString *)addTagsToHTML:(NSString *)html {
81
//Script to set the tags for liquid tag substitution
82
NSString *newHtml = [NSString stringWithFormat:@"%@ \n\n\
83
<script> \
84
- liquidPlayerTags = %@; \
+ setPlayerTags(%@);\
85
</script>",html, tags];
86
return newHtml;
87
}
88
89
- (void)loadedHtmlContent:(NSString *)html withBaseURL:(NSURL *)url {
90
// UI Update must be done on the main thread
91
NSLog(@"11111 [self.webView loadHTMLString:html baseURL:url];");
92
-
93
dispatch_sync(dispatch_get_main_queue(), ^{
94
NSLog(@"222222 [self.webView loadHTMLString:html baseURL:url];");
95
NSString *taggedHTML = [self addTagsToHTML:html];
0 commit comments