久久久久久久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:本地通知圖標(biāo)

        Ionic 2 : Local notification icon(Ionic 2:本地通知圖標(biāo))
          <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:本地通知圖標(biāo)的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我使用這個(gè)插件來獲得本地通知: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

                  我想在我的通知中有一個(gè)特定的圖標(biāo).它位于我的/www/assets/images/文件夾中.

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

                  我嘗試過這種方式,但它不起作用,我有一個(gè)帶鈴鐺的方形圖標(biāo):

                  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/中創(chuàng)建了一個(gè)名為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'
                      });
                  

                  而且它有效!

                  這篇關(guān)于Ionic 2:本地通知圖標(biāo)的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  Use IScroll in Angular 2 / Typescript(在 Angular 2/Typescript 中使用 IScroll)
                  anime.js not working in Ionic 3 project(Anime.js 在 Ionic 3 項(xiàng)目中不起作用)
                  Ionic 3 - Update Observable with Asynchronous Data(Ionic 3 - 使用異步數(shù)據(jù)更新 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 中,如何創(chuàng)建使用 Ionic 組件的自定義指令?)
                  Use ViewChild for dynamic elements - Angular 2 amp; ionic 2(將 ViewChild 用于動(dòng)態(tài)元素 - 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>
                            主站蜘蛛池模板: 国产午夜精品一区二区三区嫩草 | 99精品视频在线观看 | 91视频国产一区 | 欧美一级高潮片免费的 | 亚洲国产精品一区二区久久 | 国产一区在线免费 | 玖玖视频免费 | 亚洲一区二区精品视频 | 欧美aaaaaaaaaa| 国产欧美一区二区三区在线看 | 综合久久综合久久 | 国产区视频在线观看 | 国产精品明星裸体写真集 | 亚洲精品国产成人 | 日韩一| 精品综合久久久 | 成人a视频在线观看 | www国产成人免费观看视频,深夜成人网 | 国产91精品久久久久久久网曝门 | 日韩欧美在线视频播放 | 91精品国产综合久久福利软件 | 黄色网络在线观看 | 日韩一级| 一级少妇女片 | 免费在线色 | 欧美一区在线视频 | 国产在线a | 拍戏被cao翻了h承欢 | 综合精品 | 美女在线国产 | 亚洲精品一区二区三区中文字幕 | 久久九九色 | 欧美一区二区在线播放 | 久久人| 污片在线免费观看 | 四虎影院久久 | 成人中文网 | 国产精品久久久久久婷婷天堂 | 国产精品久久久久无码av | 999免费观看视频 | 精品视频一区二区 |