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

Mobile 3860 #32

Merged
merged 8 commits into from
Mar 1, 2024
Merged

Mobile 3860 #32

merged 8 commits into from
Mar 1, 2024

Conversation

rlepinski
Copy link
Contributor

Changes needed for urbanairship/urbanairship-cordova#420:

  • Quiet time settings
  • Being able to define the plist file for message center style
  • Default values for auto launch message center and presentation options
  • Foreground notifications enabled on Android without using a predicate
  • A way to launch the message view without enabling auto launch message center

let endHour: UInt
let endMinute: UInt

public init(startHour: UInt, startMinute: UInt, endHour: UInt, endMinute: UInt) throws {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably want to check end time is later than start time

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it actually does not need to be checked since you can have it start at 10pm and end at 6am or something

@@ -32,6 +34,24 @@ public class DefaultMessageCenterUI {
)
}

@MainActor
func displayMessageView(messageID: String) {
guard let scene = try? AirshipUtils.findWindowScene() else {
Copy link
Contributor

@crow crow Mar 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lastActiveScene, findWindowScene is private now

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is just beta nm

@rlepinski rlepinski merged commit 91338c8 into main Mar 1, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants