Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
id: set-info
run: |
echo "is_prerelease=${{ github.event.release.prerelease }}" >> $GITHUB_OUTPUT

if [ "${{ github.event.release.prerelease }}" = "true" ]; then
echo "should_upload_to_stores=false" >> $GITHUB_OUTPUT
echo "✅ Pre-release - will build and attach assets, no store uploads"
Expand Down Expand Up @@ -187,15 +187,15 @@ jobs:
# import certificate to keychain
security import $CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH

# Set this keychain as the default
security list-keychain -d user -s $KEYCHAIN_PATH
security default-keychain -s $KEYCHAIN_PATH

# install provisioning profile
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles/61f9fdb9-bf2d-4d94-b249-63155ee71e74.mobileprovision

# Also install using the profile's internal UUID for better compatibility
UUID=$(security cms -D -i $PP_PATH | plutil -extract UUID xml1 -o - - | xmllint --xpath "//string/text()" -)
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles/$UUID.mobileprovision
Expand Down
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ ios/Flutter/Flutter.framework
ios/Pods/
ios/.generated/
ios/.idea/
ios/Runner.xcworkspace/
ios/Runner.xcworkspace/xcuserdata/
ios/Runner.xcworkspace/project.xcworkspace/xcuserdata/
macos/Pods/
macos/.generated/
macos/Flutter/ephemeral/
# CocoaPods – commit Podfile.lock if you need reproducible iOS builds
Podfile.lock
Pods/

# Generated icons and splash screens
Expand Down Expand Up @@ -103,4 +102,4 @@ build_keys.conf
linux/
macos/
web/
windows/
windows/
16 changes: 16 additions & 0 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
PODS:
- Flutter (1.0.0)

DEPENDENCIES:
- Flutter (from `Flutter`)

EXTERNAL SOURCES:
Flutter:
:path: Flutter

SPEC CHECKSUMS:
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467

PODFILE CHECKSUM: 3c63482e143d1b91d2d2560aee9fb04ecc74ac7e

COCOAPODS: 1.16.2
10 changes: 10 additions & 0 deletions ios/Runner.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/services/auth_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ class AuthService {
}
try {
final token = await _helper.getToken();
if (token?.accessToken == null) {
if (token.accessToken == null) {
log('OAuth error: token null or missing accessToken');
return null;
}
final tokenMap = {
'accessToken': token!.accessToken,
'accessToken': token.accessToken,
'refreshToken': token.refreshToken,
};
final tokenJson = jsonEncode(tokenMap);
Expand Down
Loading
Loading