You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclassName="paragraph">To add image after sending set <spanclassName="code">already_sent</span> in <spanclassName="code">addNotificationStyle</span> method to <spanclassName="code">true</span></p>
<p>If you want to get the Exact Notification Clicked to Open App, you can use NotificationHandler to get unique identifer (str) <spanclassName="code">NotificationHandler.getIdentifer</span></p>
72
+
<p>If you want to get the Exact Notification Clicked to Open App, you can use NotificationHandler to get unique identifer (str) <spanclassName="code">NotificationHandler{version<=1.58?".getIdentifer":'.get_name'}</span></p>
67
73
68
74
<p>
69
-
<spanclassName="code warning yellow paragraph block width-max-con">In next version identifer will be changed to `name` and NotificationHandler.getIdentifer to NotificationHandler.get_name</span>
75
+
{Boolean(version<=1.58)&&<spanclassName="code warning yellow paragraph block width-max-con">In next version identifer will be changed to `name` and NotificationHandler.getIdentifer to NotificationHandler.get_name</span>}
Copy file name to clipboardExpand all lines: docs/website/src/pages/versions-data/1.59.tsx
+43-1Lines changed: 43 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -447,7 +447,7 @@ const STYLE_ATTRIBUTES = [
447
447
constcomponent_page={
448
448
big_picture_code: bigimgcode,
449
449
large_icon_code: largeiconcode,
450
-
how_to_add_both_imgs: <pclassName="paragraph">For Both Images pass in <spanclassName="code">NotificationStyles.BOTH_IMGS</span>as argument to <spanclassName="code">style</span>and provide both paths</p>,
450
+
how_to_add_both_imgs: <pclassName="paragraph">For Both Images use <spanclassName="code">Notification.setBigPicture</span>and <spanclassName="code">Notification.setLargeIcon</span>together</p>,
0 commit comments