{"id":1013,"date":"2022-05-02T04:19:40","date_gmt":"2022-05-02T04:19:40","guid":{"rendered":"https:\/\/www.enactsoft.com\/resources\/?post_type=docs&p=1013"},"modified":"2022-12-14T18:20:23","modified_gmt":"2022-12-14T12:50:23","password":"","slug":"cashbackapp-onesignal-push-notifications","status":"publish","type":"docs","link":"https:\/\/www.enactsoft.com\/resources\/cashbackapp-onesignal-push-notifications\/","title":{"rendered":"How to trigger OneSignal Push notifications from console for app?"},"content":{"rendered":"\n
    \n
  1. Open the OneSignal messages tab (https:\/\/app.onesignal.com\/apps\/6515bc37-8625-441a-990e-5f2a17b915ed)<\/li>\n\n\n\n
  2. Create a new push by clicking on the \u201c+new push\u201d button <\/li>\n\n\n\n
  3. Select Subscribed user to send message to all users <\/li>\n\n\n\n
  4. Fill in message details\n
      \n
    1. Title <\/li>\n\n\n\n
    2. Subtitle <\/li>\n\n\n\n
    3. Message<\/li>\n<\/ol>\n<\/li>\n\n\n\n
    4. To redirect the user to any screen in-app add \u201cLaunch Url\u201d<\/li>\n<\/ol>\n\n\n\n

      For App only system:-<\/strong><\/p>\n\n\n\n

      Dynamic-link:- https:\/\/example.page.link<\/a>
      -Ex:- https:\/\/laraback.page.link
      Android package name:- com.cashback.app
      Ios bundle is:- app.cashback.ios
      Ios app id:- 1234567
      -You can get the ios app id from
      https:\/\/appstoreconnect.apple.com<\/a><\/p>\n\n\n\n

      \"\"<\/a><\/figure>\n\n\n\n

      Web URL:- https:\/\/example.com<\/a>
      Link:-{dynamic_link}
      \/?utm_campaign=dynamiclink&apn={android_package_name}&ibi={iOS_bundle_id}&isi={iOS_app_id}&link={web_url}\/{ROUTE_NAME}\/{slug}<\/a><\/p>\n\n\n\n

      For Web, App, and Extension system<\/strong>
      Web url:-
      https:\/\/example.com<\/a>
      Android package name:- com.cashback.app
      Ios bundle is:- app.cashback.ios
      Ios app id:- 1234567
      -You can get ios app id from
      https:\/\/appstoreconnect.apple.com<\/a><\/p>\n\n\n\n

      \"\"<\/a><\/figure>\n\n\n\n

      Link:-{web_url}\/?utm_campaign=dynamiclink&apn={android_package_name}&ibi={iOS_bundle_id}&isi={iOS_app_id}&link={web_url}\/{ROUTE_NAME}\/{slug}<\/a>
      Ex:
      https:\/\/laraback.enactweb.com\/?utm_campaign=dynamiclink&apn=lbp.cashback.app&ibi=lbp.app.ios&isi=123456&link=https:\/\/laraback.enactweb.com\/store\/myntra-in<\/a>
      Without slug ex:-
      https:\/\/laraback.enactweb.com\/?utm_campaign=dynamiclink&apn=lbp.cashback.app&ibi=lbp.app.ios&isi=123456&link=https:\/\/laraback.enactweb.com\/all-stores<\/a><\/p>\n\n\n\n

      ROUTE_NAME:-  <\/strong><\/p>\n\n\n\n

      ‘all-stores’: ‘AllStores’, 
      ‘daily-deals’: ‘AllDeals’,
      ‘all-store-categories’: ‘AllStoreCategories’,
      ‘all-coupon-categories’: ‘AllCouponCategories’,
      ‘coupon-category’: ‘CouponCatDetails’,            \/\/ slug_requires
      ‘store-category’: ‘StoreCatDetail’,                     \/\/ slug_requires
      \u2018store\u2019: ‘StoreDetails’                                        \/\/ slug_requires<\/p>\n\n\n\n

        \n
      1. Schedule delivery of message based on your requirements<\/li>\n\n\n\n
      2. Once notification is sent you’ll get report on screen <\/li>\n<\/ol>\n\n\n\n

        Notes:<\/strong>–<\/p>\n\n\n\n

          \n
        •  If you want to send notifications on test devices you can select \u201cSend To Test Device\u201d and select test devices.<\/li>\n\n\n\n
        • To check all users select the \u201cAudience\u201d tab and you can see all segments, subscribed users, and test users.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"

          For App only system:- Dynamic-link:- https:\/\/example.page.link-Ex:- https:\/\/laraback.page.linkAndroid package name:- com.cashback.appIos bundle is:- app.cashback.iosIos app id:- 1234567-You can get the ios app id from https:\/\/appstoreconnect.apple.com Web URL:- https:\/\/example.comLink:-{dynamic_link}\/?utm_campaign=dynamiclink&apn={android_package_name}&ibi={iOS_bundle_id}&isi={iOS_app_id}&link={web_url}\/{ROUTE_NAME}\/{slug} For Web, App, and Extension systemWeb url:- https:\/\/example.comAndroid package name:- com.cashback.appIos bundle is:- app.cashback.iosIos app id:- 1234567-You can get ios app id from https:\/\/appstoreconnect.apple.com Link:-{web_url}\/?utm_campaign=dynamiclink&apn={android_package_name}&ibi={iOS_bundle_id}&isi={iOS_app_id}&link={web_url}\/{ROUTE_NAME}\/{slug}Ex:https:\/\/laraback.enactweb.com\/?utm_campaign=dynamiclink&apn=lbp.cashback.app&ibi=lbp.app.ios&isi=123456&link=https:\/\/laraback.enactweb.com\/store\/myntra-inWithout slug ex:- https:\/\/laraback.enactweb.com\/?utm_campaign=dynamiclink&apn=lbp.cashback.app&ibi=lbp.app.ios&isi=123456&link=https:\/\/laraback.enactweb.com\/all-stores […]<\/p>\n","protected":false},"author":2,"featured_media":0,"template":"","meta":{"footnotes":""},"doc_category":[55],"glossaries":[],"doc_tag":[],"class_list":["post-1013","docs","type-docs","status-publish","hentry","doc_category-getting-started"],"year_month":"2025-10","word_count":382,"total_views":"446","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"author_nicename":"sdjsuhds","author_url":"https:\/\/www.enactsoft.com\/resources\/author\/sdjsuhds\/"},"doc_category_info":[{"term_name":"Getting Started","term_url":"https:\/\/www.enactsoft.com\/resources\/docs-category\/getting-started\/"}],"doc_tag_info":[],"author_list":[{"ID":"2","user_login":"sdjsuhds","display_name":"sdjsuhds","id":"2"}],"_links":{"self":[{"href":"https:\/\/www.enactsoft.com\/resources\/wp-json\/wp\/v2\/docs\/1013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.enactsoft.com\/resources\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.enactsoft.com\/resources\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.enactsoft.com\/resources\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":6,"href":"https:\/\/www.enactsoft.com\/resources\/wp-json\/wp\/v2\/docs\/1013\/revisions"}],"predecessor-version":[{"id":1677,"href":"https:\/\/www.enactsoft.com\/resources\/wp-json\/wp\/v2\/docs\/1013\/revisions\/1677"}],"wp:attachment":[{"href":"https:\/\/www.enactsoft.com\/resources\/wp-json\/wp\/v2\/media?parent=1013"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.enactsoft.com\/resources\/wp-json\/wp\/v2\/doc_category?post=1013"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/www.enactsoft.com\/resources\/wp-json\/wp\/v2\/glossaries?post=1013"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.enactsoft.com\/resources\/wp-json\/wp\/v2\/doc_tag?post=1013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}