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
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# node files
dist/
node_modules/

# iOS files
Expand All @@ -17,6 +16,14 @@ xcuserdata
*.apk
*.ap_

# IDE and Editor directories and files
.vscode/
.idea/
*.sublime-project
*.sublime-workspace
*.swp
*~

# Files for the ART/Dalvik VM
*.dex

Expand Down
4 changes: 2 additions & 2 deletions OpenforgeCapacitorGameConnect.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '13.0'
s.ios.deployment_target = '14.0'
s.dependency 'Capacitor'
s.swift_version = '5.1'
s.swift_version = '5.9'

Copilot AI Feb 21, 2026

Copy link

Choose a reason for hiding this comment

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

The Swift version has been updated from 5.1 to 5.9. While this aligns with modern Swift versions, ensure that:

  1. All Swift code in the project is compatible with Swift 5.9
  2. This change is documented in migration notes for developers
  3. Minimum Xcode version requirements are updated accordingly (Swift 5.9 requires Xcode 15.0+)

This is a significant version jump that may introduce breaking changes for consumers using older Xcode versions.

Suggested change
s.swift_version = '5.9'
s.swift_versions = ['5.1', '5.9']

Copilot uses AI. Check for mistakes.
end
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Capacitor plugin for connecting and using services by Apple Game Center and Goog
---

| Capacitor Version | Support Status |
| ----------- | :----: |
| Capacitor v5 | ✅ |
| Capacitor v4 | ✅ |
| Capacitor v3 | ✅ |
| Capacitor v2 | ❌ |
| Capacitor v1 | ❌ |
|-------------------|:--------------:|
| Capacitor v7 | TESTING |

Copilot AI Feb 21, 2026

Copy link

Choose a reason for hiding this comment

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

The README indicates Capacitor v7 is marked as "TESTING" rather than fully supported. However:

  1. The package.json version has been bumped to 7.0.0, suggesting this is a release version
  2. The PR title "Support Cap 7" suggests completion rather than testing phase
  3. This creates confusion about the actual support status

Consider either:

  • Marking v7 as fully supported (✅) if it's ready for release
  • Using a pre-release version (e.g., 7.0.0-beta.1) if still in testing
  • Clarifying in the PR description what "TESTING" means for end users

Copilot uses AI. Check for mistakes.
| Capacitor v6 | ✅ |
| Capacitor v5 | ✅ |
| Capacitor v4 | ✅ |
| Capacitor v3 | ✅ |

✅ - Supported
🚧 - WIP Support
Expand Down
3 changes: 0 additions & 3 deletions android/.idea/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions android/.idea/compiler.xml

This file was deleted.

20 changes: 0 additions & 20 deletions android/.idea/gradle.xml

This file was deleted.

25 changes: 0 additions & 25 deletions android/.idea/jarRepositories.xml

This file was deleted.

10 changes: 0 additions & 10 deletions android/.idea/misc.xml

This file was deleted.

6 changes: 0 additions & 6 deletions android/.idea/vcs.xml

This file was deleted.

20 changes: 10 additions & 10 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ext {
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1'
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.2.1'
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.6.1'
}

buildscript {
Expand All @@ -11,18 +11,18 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.0.0-beta03'
classpath 'com.android.tools.build:gradle:8.7.2'
}
}

apply plugin: 'com.android.library'

android {
namespace "com.openforge.capacitorgameconnect"
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 33
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
defaultConfig {
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 33
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 23
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand All @@ -33,12 +33,12 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
lint {
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
Comment on lines +40 to +41

Copilot AI Feb 21, 2026

Copy link

Choose a reason for hiding this comment

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

The Java version has been updated from VERSION_17 to VERSION_21. This is a significant upgrade that:

  1. Requires developers to have JDK 21 installed
  2. May introduce compatibility issues with older build environments
  3. Should be documented in migration notes

Ensure this aligns with Capacitor 7's requirements and that all developers and CI/CD systems are prepared for this change.

Suggested change
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17

Copilot uses AI. Check for mistakes.
}
}

Expand Down
Binary file modified android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 3 additions & 2 deletions android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Fri Sep 22 06:21:28 CST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
30 changes: 22 additions & 8 deletions android/gradlew

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

37 changes: 21 additions & 16 deletions android/gradlew.bat

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

4 changes: 2 additions & 2 deletions android/local.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Wed Jul 12 16:16:16 CST 2023
sdk.dir=/Users/ricardomadrid/Library/Android/sdk
#Mon Sep 29 22:50:37 PDT 2025
sdk.dir=/Users/aadikhanna/Library/Android/sdk
Comment on lines +7 to +8

Copilot AI Feb 21, 2026

Copy link

Choose a reason for hiding this comment

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

The local.properties file contains a developer-specific SDK path (/Users/aadikhanna/Library/Android/sdk) which should not be committed to version control. This file should remain in .gitignore as it's machine-specific and can cause build issues for other developers. Additionally, the date comment shows "Mon Sep 29 22:50:37 PDT 2025" which appears to be in the future (the current date context shows February 2026).

Suggested change
#Mon Sep 29 22:50:37 PDT 2025
sdk.dir=/Users/aadikhanna/Library/Android/sdk
sdk.dir=/path/to/Android/sdk

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@papiguy could you take a look at this?

Loading