openframeworks / openframeworks/openFrameworks

applicationDidBecomeActive called before addListener causing missed alerts

Open
#4,709 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

iOS
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

@openframeworks/ios

OF 0.9.0/Xcode 7.2 (7C68)

I am seeing inconsistent behavior on different devices with alerts. This is reproducible with emptyExample

iPad Mini (also the Simulator)
iOS 9.2
applicationDidBecomeActive gets called before addListener causing me to miss a gotFocus message

iPhone 5
iOS 8.1.2
addListener called before applicationDidBecomeActive

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the alert behavior in emptyExample on the listed iOS versions and devices. Compare the ordering of applicationDidBecomeActive and addListener, then verify that gotFocus is delivered regardless of which callback runs first.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, ios
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.