PS-City Android(v1.8) Version Released


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



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_port` = '587', `smtp_user` = '', `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/
updated : app/src/main/java/com/panaceasoft/pscity/
updated : app/src/main/java/com/panaceasoft/pscity/api/
updated : app/src/main/java/com/panaceasoft/pscity/db/
updated : app/src/main/java/com/panaceasoft/pscity/repository/aboutus/
updated : app/src/main/java/com/panaceasoft/pscity/repository/common/
updated : app/src/main/java/com/panaceasoft/pscity/ui/common/
updated : app/src/main/java/com/panaceasoft/pscity/ui/item/promote/
updated : app/src/main/java/com/panaceasoft/pscity/ui/notification/setting/
updated : app/src/main/java/com/panaceasoft/pscity/utils/
updated : app/src/main/java/com/panaceasoft/pscity/viewmodel/common/
updated : app/src/main/java/com/panaceasoft/pscity/viewobject/
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



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`;