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

Reminders screen doesn't retain changes in iOS 7 #6

Open
canuckjacq opened this issue Apr 15, 2015 · 5 comments
Open

Reminders screen doesn't retain changes in iOS 7 #6

canuckjacq opened this issue Apr 15, 2015 · 5 comments
Assignees

Comments

@canuckjacq
Copy link
Member

turn the switches off, close and reopen the app. Switches return to default.

@Lmd64-zz
Copy link

Just tested this on iPhone 4S running iOS7, it remembers the user's preferences for the reminders screen.

@canuckjacq
Copy link
Member Author

Still seeing this on the iPod.

@adam-govan
Copy link

Secured an iPhone 5C running iOS7 for this evening, so i'll see if I can reproduce it then. if I can't i'd say it's specific to iPod and it's not really worth postponing the launch for it, in my humble opinion ;)

@adam-govan
Copy link

Reproduced it with iPhone 5 simulator running iOS 7.1

@adam-govan
Copy link

Finished. It was missing the following check from the AppDelegate

if( [[NSUserDefaults standardUserDefaults] objectForKey:@"dayReminder"] == nil){
    if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0")) {
        UIUserNotificationSettings *grantedSettings = [[UIApplication sharedApplication] currentUserNotificationSettings];
        if (grantedSettings.types == UIUserNotificationTypeNone) {
            [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"dayBeforeReminder"];
            [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"dayReminder"];
        }
    } else {
        [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"dayBeforeReminder"];
        [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"dayReminder"];
    }
}

pushed to bug-fixes

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

3 participants