Skip to content

Commit

Permalink
Create advanced-usage.md (#11)
Browse files Browse the repository at this point in the history
* Create advanced-usage.md

* Update README.md

* Update advanced-usage.md

* Update README.md
  • Loading branch information
Koji23 authored Jul 13, 2022
1 parent f0277a4 commit fae17a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ For more information on how to build HTML In-App Messages view our [documentatio

## Templates

For more information of how html in-apps work see our [advanced usage doc](./advanced-usage.md)

###### [Leads (SMS + Email)](./sms_email_form/README.md)
<img alt="Leads" src="./sms_email_form/readme_assets/sms_email_form.gif" width="200px">

Expand All @@ -16,8 +18,3 @@ For more information on how to build HTML In-App Messages view our [documentatio

###### [Promo Wheel](./promo_wheel/README.md)
<img alt="Promo Wheel" src="./promo_wheel/readme_assets/promo_wheel_iam.gif" width="200px">

### Safe Area (notch) Detection
Certain mobile devices may have safe areas where operating system icons or a camera notch might exist. Our Onesignal SDK detects these areas and exposes them to the iam's HTML document via `safe-area-inset-*` CSS variables :point_down:

https://github.com/OneSignalDevelopers/iam-html-templates/blob/00e30f0240e22f2e72ae807ac9274c3d0ab97bc8/sms_email_form/index.html#L21-L31
4 changes: 4 additions & 0 deletions advanced-usage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### Safe Area (notch) Detection
Certain mobile devices may have safe areas where operating system icons or a camera notch might exist. Our Onesignal SDK detects these areas and exposes them to the iam's HTML document via `safe-area-inset-*` CSS variables :point_down:

https://github.com/OneSignalDevelopers/iam-html-templates/blob/00e30f0240e22f2e72ae807ac9274c3d0ab97bc8/sms_email_form/index.html#L21-L31

0 comments on commit fae17a1

Please sign in to comment.