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

Basic Android MDM on/off functionality #26309

Open
wants to merge 50 commits into
base: main
Choose a base branch
from

Conversation

getvictor
Copy link
Member

@getvictor getvictor commented Feb 12, 2025

For #26218

Basic Android MDM on/off backend functionality. Manually tested.

The following env vars must be set:

FLEET_DEV_ANDROID_ENABLED=1
FLEET_DEV_ANDROID_SERVICE_CREDENTIALS=$(cat credentials.json)
FLEET_DEV_ANDROID_PUBSUB_TOPIC=projects/your-project/topics/your-topic

I picked https://github.com/go-json-experiment/json as the JSON library, which seems like the safest option.

Plan for next work:

  • refactoring from 1st PR
  • add pubsub with device enroll -> spec proxy for fleetdm.com
  • come back to this sub-task to add tests and finish TODOs

Checklist for submitter

  • Added/updated automated tests
  • Manual QA for all new/changed functionality

…to victor/26218-basic-functionality

# Conflicts:
#	server/android/datastore.go
#	server/android/interfaces/interfaces.go
#	server/android/mysql/mysql.go
#	server/datastore/mysql/migrations/tables/20250213104005_AddAndroidEnterpriseTable.go
#	server/mdm/android/arch_test.go
#	server/mdm/android/service/service.go
Base automatically changed from victor/26218-android-turn-on to main February 13, 2025 20:32
…nctionality

# Conflicts:
#	server/archtest/archtest.go
#	server/mdm/android/android.go
#	server/mdm/android/arch_test.go
#	server/mdm/android/datastore.go
#	server/mdm/android/mysql/enterprises.go
#	server/mdm/android/mysql/enterprises_test.go
#	server/mdm/android/service.go
#	server/mdm/android/service/endpoint_utils.go
#	server/mdm/android/service/handler.go
#	server/mdm/android/service/service.go
@getvictor getvictor marked this pull request as ready for review February 13, 2025 21:40
@getvictor getvictor requested a review from a team as a code owner February 13, 2025 21:40
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.

1 participant