Skip to content

kotlin AppOpenExample not showing ads when app is moved to foreground #688

@pas-p

Description

@pas-p

The DefaultLifecycleObserver methods in MyApplication are not called at all. I think this can be solved moving the initialization methods (registerActivityLifecycleCallbacks(this), ProcessLifecycleOwner.get().lifecycle.addObserver(this)) from DefaultLifecycleObserver. onCreate(owner: LifecycleOwner) to Application.onCreate().

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions