This commit is contained in:
mazenfarkouh580-netizen 2026-07-31 19:26:10 +00:00 committed by GitHub
commit 73f402aba0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 51 additions and 1 deletions

Binary file not shown.

View file

@ -9,6 +9,14 @@ microG Services is a FLOSS (Free/Libre Open Source Software) framework to allow
### Please refer to the [wiki](https://github.com/microg/GmsCore/wiki) for downloads and instructions
## WearOS Support
This repository now includes initial support for WearOS devices integration with MicroG Firebase Authentication.
The `WearOsSupportAidlRequest` class and `WearOsSupportService` provide a foundation for future WearOS-specific authentication features.
Contributions to extend and improve WearOS support are welcome.
## Translations
If you'd like to help translate microG, take a look at [TRANSLATION](TRANSLATION.md).
@ -16,7 +24,7 @@ If you'd like to help translate microG, take a look at [TRANSLATION](TRANSLATION
License
-------
Copyright 2013-2025 microG Project Team
Copyright 2013-2026 microG Project Team
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View file

@ -0,0 +1,26 @@
/*
* SPDX-FileCopyrightText: 2026, microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
package org.microg.gms.firebase.auth
import android.content.Context
import android.util.Log
import com.google.android.gms.common.api.CommonStatusCodes
import com.google.android.gms.common.api.Status
import com.google.android.gms.common.internal.GetServiceRequest
import com.google.android.gms.common.internal.IGmsCallbacks
import org.microg.gms.BaseService
import org.microg.gms.common.GmsService
import com.google.firebase.auth.api.internal.WearOsSupportAidlRequest
private const val TAG = "GmsFirebaseAuthWearOs"
class WearOsSupportService : BaseService(TAG, GmsService.FIREBASE_AUTH) {
override fun handleServiceRequest(callback: IGmsCallbacks, request: GetServiceRequest, service: GmsService?) {
Log.d(TAG, "WearOS support service request received")
// For now, just respond with success without additional implementation
callback.onPostInitComplete(CommonStatusCodes.SUCCESS, null, null)
}
}

View file

@ -0,0 +1,16 @@
/*
* SPDX-FileCopyrightText: 2026, microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
package com.google.firebase.auth.api.internal;
import org.microg.safeparcel.AutoSafeParcelable;
/**
* Placeholder class for WearOS support request.
* This class can be extended in the future to add WearOS specific authentication features.
*/
public class WearOsSupportAidlRequest extends AutoSafeParcelable {
public static final Creator<WearOsSupportAidlRequest> CREATOR = new AutoCreator<>(WearOsSupportAidlRequest.class);
}