1. Introduction
  2. Installation
    1. Getting Started
    2. Plugin Update (CiyaShop App Version 2.0)
    3. Plugin Installation (CiyaShop App Version 2.0)
  3. API Settings
    1. Support & License
    2. API Keys
    3. WooCommerce API
    4. Android Application Configuration
    5. iOS Application Configuration
    6. Google Maps API
    7. App URL
    8. Test API
    9. Emails
    10. Vendor Settings
  4. App Settings
    1. Primary Logo
    2. Secondary Logo
    3. App Color
    4. Main Category Menu
    5. Home Slider Banner
    6. Category Banners
    7. Banner Ads
    8. Feature Box
    9. App Pages
    10. Checkout Page Settings
    11. Social Links
    12. Contact Info
    13. Home Page Customisation
    14. WhatsApp Chat
    15. Language Setting (Version 1.0, Version 1.1& Version 1.2)
  5. Performance
  6. Reward Points
  7. Multi-Vendor Support
  8. Push Notifications
    1. Android Push-notification configurations
    2. iOS Push-notification configurations
    3. Admin Push-notification Configuration
  9. Delivery Tracking
  10. In-App Coupons
  11. Scratch Cards
  12. Multi-Currency Symbol
  13. GEO Fencing
  14. WishList
  15. One Signal Notification
  16. WPML Configuration
    1. App Setting for WPML
  17. How To Enable Delivery Boy? (Coming Soon)
  18. Other Android Application Configuration steps
    1. Application Package
    2. Setup Firebase project
    3. Setup Facebook Login
    4. Change SplashScreen
    5. Source and Credits
  19. Other iOS Application Configuration steps
    1. Setup Firebase project
    2. Facebook Setup
    3. Change App Name
    4. Change App Icon
    5. Change SplashScreen
    6. Source and Credits
  20. WhatsApp Floating Button
  21. Facebook Pixel
  22. Firebase Deep Links
  23. Google App Indexing
  24. Bottom Bar in Android
  25. Social Sharing & App Sharing (Coming Soon)
  26. Video Support (Product Detail)
  27. Infinite Scrolling
  28. Introduction Slider Changes
  29. Manage Infinite scrolling configuration from code
    1. Android
    2. iOS
  30. Variation Option
    1. Android Product Variation
    2. iOS Product Variation
  31. Check Zipcode For Delivery
  32. Add To Cart In Listing Page
  33. Firebase OTP on Registration
  34. Custom Products (Selected Products)
  35. Loader options (Shimmer Loader)
  36. Tera Wallet Plugin(Coming Soon)
  37. Publish
    1. Android app submission on PlayStore
    2. iOS app submission on AppStore
  38. FAQs
    1. WhatsApp not opening In API 30(Android 11)
    2. HTTP Authorization Header not enable?
    3. Checkout page not working correctly?
    4. Special Deal Products or Schedule Sale Products
    5. Update PGS Woo Api plugin
    6. How to take backups of PGS WOO APi Plugin
    7. How to remove Geo-fencing from CiyaShop Android?
    8. Remove Social Media Login
    9. Remove Black Color From Color Filter
    10. Set image according to your requirement
    11. Downloadable Products
    12. Remove Intro Slider (Coming Soon)
    13. InternalAppEventsLogger : Error When Running Android App
    14. Bottambar Issue
    15. Remove Blog and Find store
  39. Change Log
    1. Android
    2. iOS

One Signal Notification

Android

1. Open https://onesignal.com/ website. Log in to your account of one signal.

2. Click on Add new app button, and Add App name, Finally Click on create button.

3. Select the preferred platform as Google Android and Click on next button.

4. Enter firebase server key and firebase sender id to set up One signal notification.

    To get firebase server key, open firebase project console.
    Select your project, and open Cloud messaging.
    From here you can get your firebase server keyand firebase sender id.
Add this detail to OneSignal.


5. Select target sdk as Native Android and clickon next button.

6. Copy your app Id for setup purpose.Click on check subscribed user.

7. As currently there is no device registered in one signal, so you will not find any device.

8. Open ciyashop project in android studio.

9. Now open application level gradle.build file.
Paste Onesignal app id in one_signal_app_id and sync Project.

10. After build done run ciyashop project on device.

11. Now check swubscribed user again, as you run the code with code of one signal, you will get registered device. Now click on done button.

12. To test push notification click on Messages tab.
Now click on new push button to send notification.

13. Select the audience.

Enter message title and other detail, and Setup other options for your message.

14. Click on confirm button at the bottom of the page to send notification.

Then click on send message button.

15. Now check the notification in the device. Here you can see that the notification that we have sent from One signal is display on the device.
By click on the notification, it will just redirect to the application.

NOTE:- If your app crashing than you should add below code in sendNotification method inside ..\\fcm\MyFirebaseMessagingService.java file.

notificationBuilder.setSmallIcon(R.drawable.profile);

 

iOS

Note: If you do not want One Signal notification, then delete CiyaShopNotification extension from project target. And if you wish to set up One Signal Notification then make changes as follow.

1. Open https://onesignal.com/ website. Log in to your account of one signal.

2. Click on Add new app button, and Add App name, Finally Click on create button.

3. Select the preferred platform as Apple iOS and Click on next button.

4. Upload production p12 certificate and developement p12 certificate to one signal project and save detail.


5. Select native iOS as target SDK and Click on next button.

6. Copy App ID for set up.
As currently there is no device registered in one signal, so you will not find any device.

7. Now Close edit dialog of one signal app and Open on setting tab.

8. Here all certificate details and all apps that are in one signal is available.

9. Open Ciyashop project in XCode, Now open AppDelegate.m file.
10. Replace one signal app id with the One signal key space in code.

11. Now Open the project target. In the project target tab there in extention as CiyaShopNotification. Open CiyaShopNotification.

12. Setup bundle identifier and provisioning certificate for push notification service of One signal. Now Run Ciyashop application into a device.
Note: To send the notification, it is required to run the application into a physical device, because simulator does not support push notification service.
13. Once the application is successfully run into device, open OneSignal website and click on Users tab.
Here you can check all the registered devices.


14. Now open the messages tab and click on the New Push button.

15. Select the audience. Enter message title and other detail, and Setup other options for your message.

16. Click on confirm button at the bottom of the page to send notification. Then click on send message button.

17. Now check the notification in the device. Here you can see that the notification that we have sent from One signal is display on the device.
Note: By click on the notification, it will just redirect to the application.

 

Suggest Edit