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

Notification for the next day doesn't fire #1

Open
callzhang opened this issue Apr 14, 2015 · 7 comments
Open

Notification for the next day doesn't fire #1

callzhang opened this issue Apr 14, 2015 · 7 comments
Assignees
Labels

Comments

@callzhang
Copy link
Owner

No description provided.

@callzhang
Copy link
Owner Author

可以讲讲为什么原来第二天没有提醒呢?现在怎么修复了?

@magic-geng
Copy link
Collaborator

1.在添加新的联系人的时候,RHAddressBookExternalChangeNotification这个通知中并没有去scheduleLocalNotification,然后我在这个通知回调里面加了这个方法 [self checkNewContactsAndNotifyWithCompletion:nil];

@magic-geng magic-geng assigned callzhang and unassigned magic-geng Jan 14, 2016
@callzhang
Copy link
Owner Author

在添加新联系人的时候,app大多数时候应该是在后台suspend状态吧,是应该收不到RHAddressBookExternalChangeNotification的是吧。我原来的做法是background fatch每隔一段时间检查一次。code在appDelegate里面。你改的在哪里?是否可以做一个测试(比如自己改成1分钟后提醒, 然后看看在各种状态下【前台、后台、suspend、killed】有没有提示)?

@magic-geng
Copy link
Collaborator

后台的情况我再测试一下,如果再添加完联系人不进入前台的话,RHAddressBookExternalChangeNotification这个确实不会回调,我想想办法。

@magic-geng
Copy link
Collaborator

如果在你添加完联系人,然后再进入前台,那么一切都正常,我测试过,不进入前台的情况我再修改一下

@magic-geng
Copy link
Collaborator

ios8测试的没有问题

@callzhang
Copy link
Owner Author

那你做一个build发布吧

On Jan 18, 2016, at 5:57 AM, Geng5017034 [email protected] wrote:

ios8测试的没有问题


Reply to this email directly or view it on GitHub #1 (comment).

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

No branches or pull requests

3 participants