<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sanukin39</author_name>
  <author_url>https://blog.hatena.ne.jp/sanukin39/</author_url>
  <blog_title>スマゲ</blog_title>
  <blog_url>https://smartgames.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Unityで通知許可のダイアログを出します■ダイアログ ■ダイアログの必要性 iOS8から、ユーザーに対して上記のポップアップにより通知の許可を得る必要がある。許可を得ないままだと、通知を登録してもユーザーに届かなくなる■アラートを出すスクリプト Assets/Plugin以下にnotification.mを作成し、以下のように記述 void askNotificationPermission(){ float osVersion = [[[UIDevice currentDevice] systemVersion] floatValue]; if(osVersion &gt;= 8.0){ UIU…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsmartgames.hatenablog.com%2Fentry%2F2016%2F04%2F17%2F125410&quot; title=&quot;【iOS】Unityで通知許可のダイアログを出す - スマゲ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/s/sanukin39/20160417/20160417122127.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-04-17 12:54:10</published>
  <title>【iOS】Unityで通知許可のダイアログを出す</title>
  <type>rich</type>
  <url>https://smartgames.hatenablog.com/entry/2016/04/17/125410</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
