Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cập nhật tính năng open app daily #51

Open
trinhvanbien opened this issue Jan 3, 2017 · 2 comments
Open

cập nhật tính năng open app daily #51

trinhvanbien opened this issue Jan 3, 2017 · 2 comments

Comments

@trinhvanbien
Copy link
Owner

Phần việc phía Client;

Thêm giao diện form mở app nhận thưởng.

Sau khi user cài app từ  lưu app đã cài vào preference.
mỗi ngày hiện app lên cho user mở 1 lần, sau khi user mở thì ẩn đi.
Mỗi app sau khi user cài đặt hiện lên cho user mở trong X ngày.sau đó ẩn vĩnh viễn.

Số coin mỗi ngày tính theo công thức: số coin ban đầu cài đặt nhân với Y phần trăm.  Y là tham số từ server: ví dụ:
lúc đầu cài đặt được 1000 Coins. Y =5%. suy ra mỗi ngày user mở app này sẽ được cộng: 50 Coins.

Gọi lên hàm 18 trên server để cộng coin.
@trinhvanbien
Copy link
Owner Author

Số ngày hiện app lên cho user click nút open: appnext_allow_open_app_get_coins_days_time
số coin mỗi lần user open app: appnext_open_app_get_percent_coins

Khi cài đặt app user nhận được X coin, mỗi lần open app user sẽ nhận được số Coin Y bằng X nhân với phần trăm tương ứng: appnext_open_app_get_percent_coins

"appnext_allow_open_app_get_coins_days_time" : 7, // hiện lên giao diện trong 7 ngày. mỗi ngày hiện 1 lần, sau khi user open app thì ẩn đi.

"appnext_open_app_get_percent_coins" : 5.5, // nhận được 5.5 phần trăm số coin khi cài đặt app

"instal_allow_open_app_get_coins_days_time" : 7,
"instal_open_app_get_percent_coins" : 5.5,

@trinhvanbien
Copy link
Owner Author

Cập nhật tương tự với system ads.

"system_ads_allow_open_app_get_coins_days_time" : 7,
"system_ads_open_app_get_percent_coins" : 5.5,

Trong màn hình open installed app daily:

với mỗi loại ads hiện màu khác nhau để dễ phân biệt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant