久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<legend id='nBjeR'><style id='nBjeR'><dir id='nBjeR'><q id='nBjeR'></q></dir></style></legend>

  • <small id='nBjeR'></small><noframes id='nBjeR'>

        <bdo id='nBjeR'></bdo><ul id='nBjeR'></ul>
        <tfoot id='nBjeR'></tfoot>
      1. <i id='nBjeR'><tr id='nBjeR'><dt id='nBjeR'><q id='nBjeR'><span id='nBjeR'><b id='nBjeR'><form id='nBjeR'><ins id='nBjeR'></ins><ul id='nBjeR'></ul><sub id='nBjeR'></sub></form><legend id='nBjeR'></legend><bdo id='nBjeR'><pre id='nBjeR'><center id='nBjeR'></center></pre></bdo></b><th id='nBjeR'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='nBjeR'><tfoot id='nBjeR'></tfoot><dl id='nBjeR'><fieldset id='nBjeR'></fieldset></dl></div>

        Ionic 2:本地通知圖標

        Ionic 2 : Local notification icon(Ionic 2:本地通知圖標)
          <bdo id='cAQtF'></bdo><ul id='cAQtF'></ul>
          <tfoot id='cAQtF'></tfoot>
              <legend id='cAQtF'><style id='cAQtF'><dir id='cAQtF'><q id='cAQtF'></q></dir></style></legend>

                <tbody id='cAQtF'></tbody>

                  <small id='cAQtF'></small><noframes id='cAQtF'>

                1. <i id='cAQtF'><tr id='cAQtF'><dt id='cAQtF'><q id='cAQtF'><span id='cAQtF'><b id='cAQtF'><form id='cAQtF'><ins id='cAQtF'></ins><ul id='cAQtF'></ul><sub id='cAQtF'></sub></form><legend id='cAQtF'></legend><bdo id='cAQtF'><pre id='cAQtF'><center id='cAQtF'></center></pre></bdo></b><th id='cAQtF'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='cAQtF'><tfoot id='cAQtF'></tfoot><dl id='cAQtF'><fieldset id='cAQtF'></fieldset></dl></div>
                2. 本文介紹了Ionic 2:本地通知圖標的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我使用這個插件來獲得本地通知:https://github.com/katzer/cordova-plugin-local-notifications/wiki/03.-安裝

                  I use this plugin to have local notification : https://github.com/katzer/cordova-plugin-local-notifications/wiki/03.-Installation

                  我想在我的通知中有一個特定的圖標.它位于我的/www/assets/images/文件夾中.

                  I want to have a specific icon in my notification. It is located in my /www/assets/images/ folder.

                  我嘗試過這種方式,但它不起作用,我有一個帶鈴鐺的方形圖標:

                  I try this way but it doesn't work, I have a square icon with a bell :

                  public schedule() {
                      cordova.plugins.notification.local.schedule({
                        title: "New Message",
                        message: "Hi, are you ready? We are waiting.",
                        sound: null,
                        at: new Date(new Date().getTime() + 5 * 1000),
                        icon: 'file://assets/images/logo2.png'
                      });
                    }
                  

                  有人可以告訴我我必須寫的路徑類型嗎?我迷路了.

                  Someone can show me the type of path I have to write ? I'm lost.

                  推薦答案

                  我找到了解決方案:

                  我在/platforms/android/res/中創建了一個名為drawable"的新文件夾我將我的圖片放在名為ic_notifications.png"和ic_notifications_small.png"的新文件夾中.

                  I create a new folder named "drawable" in /platforms/android/res/ I put my image in my new folder with name "ic_notifications.png" and "ic_notifications_small.png".

                  在我寫的代碼中

                  cordova.plugins.notification.local.schedule({
                        id: 2,
                        title: "Notification",
                        message: "Retour à l'application",
                        sound: null,
                        at: new Date(new Date().getTime() + 5 * 1000),
                        icon: 'ic_notifications',
                        smallIcon: 'ic_notification_small'
                      });
                  

                  而且它有效!

                  這篇關于Ionic 2:本地通知圖標的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Use IScroll in Angular 2 / Typescript(在 Angular 2/Typescript 中使用 IScroll)
                  anime.js not working in Ionic 3 project(Anime.js 在 Ionic 3 項目中不起作用)
                  Ionic 3 - Update Observable with Asynchronous Data(Ionic 3 - 使用異步數據更新 Observable)
                  Angular 2: file not found on local .json file(Angular 2:在本地 .json 文件中找不到文件)
                  In Ionic 2, how do I create a custom directive that uses Ionic components?(在 Ionic 2 中,如何創建使用 Ionic 組件的自定義指令?)
                  Use ViewChild for dynamic elements - Angular 2 amp; ionic 2(將 ViewChild 用于動態元素 - Angular 2 amp;離子2)
                  <tfoot id='QRGov'></tfoot>
                    <tbody id='QRGov'></tbody>
                    • <bdo id='QRGov'></bdo><ul id='QRGov'></ul>
                      <i id='QRGov'><tr id='QRGov'><dt id='QRGov'><q id='QRGov'><span id='QRGov'><b id='QRGov'><form id='QRGov'><ins id='QRGov'></ins><ul id='QRGov'></ul><sub id='QRGov'></sub></form><legend id='QRGov'></legend><bdo id='QRGov'><pre id='QRGov'><center id='QRGov'></center></pre></bdo></b><th id='QRGov'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='QRGov'><tfoot id='QRGov'></tfoot><dl id='QRGov'><fieldset id='QRGov'></fieldset></dl></div>

                            <small id='QRGov'></small><noframes id='QRGov'>

                          1. <legend id='QRGov'><style id='QRGov'><dir id='QRGov'><q id='QRGov'></q></dir></style></legend>
                            主站蜘蛛池模板: 中文字幕不卡在线观看 | 日本黄色一级视频 | 成人伊人 | 黄色片视频 | 日韩av在线免费 | 亚洲电影一区二区三区 | 国内精品视频免费观看 | 日韩一区二区在线播放 | 在线中文一区 | 欧美在线一区二区三区四区 | 欧美自拍一区 | av天天爽| 欧美一区二区免费视频 | 亚洲视频一区二区三区 | 国内自拍视频在线观看 | 欧美videosex性极品hd | 99re国产视频 | 亚洲一区二区三区在线 | 久久蜜桃av一区二区天堂 | 777毛片| 成人精品视频在线 | 日日夜夜精品视频 | 国产1区在线| 久草免费福利 | 日本在线播放 | 久久综合一区二区三区 | 亚洲一二三区免费 | 在线看一区二区三区 | 91精品久久久久久久久中文字幕 | 欧美一区2区三区4区公司二百 | 久久影音先锋 | 国产目拍亚洲精品99久久精品 | 亚洲男人天堂av | 国产精品福利网站 | 影音先锋中文字幕在线观看 | 在线免费观看a级片 | 日韩中文一区二区三区 | 91精品久久久久久久久中文字幕 | 亚洲国产欧美精品 | 欧美三级成人理伦 | 精品一区电影 |