Skip to content

Migrate sample apps to UIKit scene-based lifecycle#278

Open
w-goog wants to merge 12 commits into
masterfrom
feature/uiscene-migration
Open

Migrate sample apps to UIKit scene-based lifecycle#278
w-goog wants to merge 12 commits into
masterfrom
feature/uiscene-migration

Conversation

@w-goog

@w-goog w-goog commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

In the interest of fixing #276, we'll need to bump the sample apps to iOS 15+. Doing so requires using the scene-based lifecycle. This PR adds a scene delegate, and moves "auth session in-progress" check to that delegate.

@w-goog
w-goog requested a review from mdmathias July 22, 2026 22:13
@w-goog

w-goog commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Ok at last I've been able to test this on-device, and it works a treat :)

/*! @file SceneDelegate.h
@brief GTMAppAuth SDK iOS Example
@copyright
Copyright 2016 Google Inc.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Update year. Please also confirm that this is the latest version of these details.

/*! @file SceneDelegate.m
@brief GTMAppAuth SDK iOS Example
@copyright
Copyright 2016 Google Inc.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ditto


@property(strong, nonatomic) UIWindow *window;

/*! @brief The authorization flow session which receives the return URL from \SFSafariViewController.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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.

2 participants