Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int bookReadCompletionPercentage = getUsersReadPercentage();
- int bookIdForCurrentBook = getBookIdForCurrentBookUserIsReading();
- int fourHourWorkWeekBookId = getBookIdForBookWithTitle("Four Hour Work Week");
- if (bookReadCompletionPercentage <= 33% &&
- bookIdForCurrentBook == fourHourWorkWeekBookId) {
- String userMobileNumber = getUsersPhoneNumber();
- String pushNotificationText = "The three things you can outsource today are waiting in Chapter 4";
- sendPushNotification(userMobileNumber, pushNotificationText);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement