PS-City Android(v1.8) Version Released

Tags:

Change Logs

– paid item order by issue fix
– sending email with SMTP email
– search by value at lang string
– payment enable added to appinfo ( Api )
– user id added to noti register and unregister ( Api )
– relate breadcrumb item with lang ( Backend )

 

Backend Effected files

– application/core/My_Model.php
– application/controllers/backend/Backend_configs.php
– application/helpers/ps_helper.php
– application/libraries/PS_Mail.php
– application/views/backend/backend_configs/entry_form.php
– application/models/Language_string.php
– application\controllers\rest\Notis.php
– application/controllers/backend/Languages.php
– application/controllers/backend/Paid_configs.php

 

SQL

ALTER TABLE `core_backend_config` ADD `smtp_enable` TINYINT(1) NOT NULL AFTER `fcm_api_key`;
ALTER TABLE `core_backend_config` ADD `smtp_host` VARCHAR(255) NOT NULL AFTER `smtp_enable`;
ALTER TABLE `core_backend_config` ADD `smtp_port` VARCHAR(255) NOT NULL AFTER `smtp_host`;
ALTER TABLE `core_backend_config` ADD `smtp_user` VARCHAR(255) NOT NULL AFTER `smtp_port`;
ALTER TABLE `core_backend_config` ADD `smtp_pass` VARCHAR(255) NOT NULL AFTER `smtp_user`;

UPDATE `core_backend_config` SET `smtp_enable` = '0', `smtp_host` = 'ssl://smtp.dreamhost.com', `smtp_port` = '587', `smtp_user` = 'sender@blog.panacea-soft.com', `smtp_pass` = '12345678' WHERE `core_backend_config`.`id` = 'be1'

ALTER TABLE cities_push_notification_tokens ADD user_id VARCHAR(255) NOT NULL AFTER os_type;

 

Android Change Log
– Fixed notification on/off issue
– Added on/off for payment at Sponsors Submit

 

Android Changes
updated : app/build.gradle
updated : app/src/main/java/com/panaceasoft/pscity/Config.java
updated : app/src/main/java/com/panaceasoft/pscity/MainActivity.java
updated : app/src/main/java/com/panaceasoft/pscity/api/PSApiService.java
updated : app/src/main/java/com/panaceasoft/pscity/db/PSCoreDb.java
updated : app/src/main/java/com/panaceasoft/pscity/repository/aboutus/AboutUsRepository.java
updated : app/src/main/java/com/panaceasoft/pscity/repository/common/NotificationTask.java
updated : app/src/main/java/com/panaceasoft/pscity/ui/common/NotificationTaskHandler.java
updated : app/src/main/java/com/panaceasoft/pscity/ui/item/promote/ItemPromoteFragment.java
updated : app/src/main/java/com/panaceasoft/pscity/ui/notification/setting/NotificationSettingFragment.java
updated : app/src/main/java/com/panaceasoft/pscity/utils/Constants.java
updated : app/src/main/java/com/panaceasoft/pscity/viewmodel/common/NotificationViewModel.java
updated : app/src/main/java/com/panaceasoft/pscity/viewobject/PSAppInfo.java
updated : app/src/main/res/layout/fragment_item_promote_entry.xml

 

Additional Files for Small Bug Fix

– application/controllers/rest/Users.php
– application/libraries/PS_Delete.php
– application/models/Notitoken.php

 

SQL

ALTER TABLE `core_users` ADD `phone_id` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL AFTER `google_id`;

ALTER TABLE `core_users` ADD `phone_verify` TINYINT(1) NOT NULL AFTER `google_verify`;