Skip to content

Android Agents: Sync with SDK v0.8.0 - #9

Merged
kkamalov merged 3 commits into
mainfrom
android-sdk-sync-v0.8.0
Nov 23, 2025
Merged

kkamalov merged 3 commits into
mainfrom
android-sdk-sync-v0.8.0

Conversation

@kkamalov

Copy link
Copy Markdown
Member

Summary

Automated sync of Android agent documentation with CloudX Android SDK v0.8.0.

Changes

  • SDK Version: 0.6.1 → 0.8.0
  • Verified Commit: ea8cffb → c995809
  • Agents Updated: 4 agent files
  • Documentation Added: 397 lines of new API documentation

New SDK APIs Documented

  1. Native Ad APIs

    • CloudX.createNativeAdSmall(String): CloudXAdView - 320x100 native ad for list items
    • CloudX.createNativeAdMedium(String): CloudXAdView - 300x250 native ad for feed content
  2. User Targeting APIs

    • CloudX.setHashedUserId(String) - Set hashed user identifier
    • CloudX.setUserKeyValue(String, String) - Custom user attributes
    • CloudX.setAppKeyValue(String, String) - Custom app attributes
    • CloudX.clearAllKeyValues() - Clear all targeting data
  3. Logging Configuration APIs

    • CloudX.setLoggingEnabled(Boolean) - Enable/disable SDK logging
    • CloudX.setMinLogLevel(CloudXLogLevel) - Set minimum log level
  4. Banner Auto-Refresh APIs

    • CloudXAdView.startAutoRefresh() - Start automatic banner refresh
    • CloudXAdView.stopAutoRefresh() - Stop automatic banner refresh
  5. Revenue Tracking API

    • CloudXFullscreenAd.revenueListener: CloudXAdRevenueListener - Track ad revenue
  6. SDK Lifecycle API

    • CloudX.deinitialize() - Clean SDK shutdown

Documentation Enhancements

android-integrator.md (+303 lines):

  • Native Ads Integration Guide with RecyclerView patterns
  • Advanced Configuration section covering all new APIs
  • 15 new code examples with best practices
  • 6 best practices for native ads
  • 5 common issues with solutions

android-auditor.md (+47 lines):

  • Native ads validation checks
  • Auto-refresh management validation
  • Revenue tracking validation

android-privacy-checker.md (+47 lines):

  • User targeting data privacy validation (PII checks)
  • Production logging checks

android-build-verifier.md (+2 lines):

  • Version metadata update

Validation Passed

All agent files validated successfully:

  • ✅ All 4 agents generated
  • ✅ No unresolved placeholders
  • ✅ Version numbers present
  • ✅ Platform isolation maintained (Flutter unchanged)

Test Plan

  • Run agent generator with validation
  • Verify all agent files updated
  • Check no stale version references
  • Review integrator agent examples
  • Review auditor validation rules
  • Review privacy checker rules
  • Test agent invocations

SDK Commit Reference

CloudX Android SDK v0.8.0: https://github.com/cloudx-io/cloudexchange.android.sdk/commit/c995809


🤖 Generated with Claude Code

Kainar Kamalov and others added 3 commits November 23, 2025 00:53
- Update SDK version from 0.6.1 to 0.8.0
- Update verified commit from ea8cffb to 611f616
- Update agents_last_updated to 2025-11-23
- Update all Maven coordinates to 0.8.0
- Update version references in README, CLAUDE.md

Files updated:
- SDK_VERSION.yaml (Android section)
- README.md (version table)
- CLAUDE.md (2 version references)
- 4 agent files (.claude/agents/android/)
- 2 doc files (docs/android/)

Validation: ✅ All 5 layers passed
- File completeness: 7 files modified
- Version exhaustiveness: 0 old refs remain
- Platform isolation: 0 Flutter files touched

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Update SDK version from 0.6.1 to 0.8.0
- Update verified commit from ea8cffb to aa9139c
- Add native ad APIs (createNativeAdSmall, createNativeAdMedium)
- Add revenue listener documentation (CloudXAdRevenueListener)
- Add key-value targeting examples (setHashedUserId, setUserKeyValue, setAppKeyValue)
- Add deinitialization guidance (deinitialize, clearAllKeyValues)
- Update all code examples and API references
- Create API snapshot for v0.8.0
- Validate all agent docs against SDK public API surface

SDK Commit: aa9139c862b24ce0726cb0c0501beb7388987590
Validated: 2025-11-23

New SDK APIs Documented:
- CloudX.createNativeAdSmall(placementName: String): CloudXAdView
- CloudX.createNativeAdMedium(placementName: String): CloudXAdView
- CloudX.setHashedUserId(hashedUserId: String)
- CloudX.setUserKeyValue(key: String, value: String)
- CloudX.setAppKeyValue(key: String, value: String)
- CloudX.clearAllKeyValues()
- CloudX.deinitialize()
- CloudXFullscreenAd.revenueListener: CloudXAdRevenueListener?

Validation Results:
- File completeness check: PASS
- Version exhaustiveness check: PASS (no stale version refs)
- Compilation check: PASS (valid Kotlin syntax)
- API validation: PASS (all refs match SDK)
- Platform isolation check: PASS (Android only)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@kkamalov
kkamalov merged commit 4c563ba into main Nov 23, 2025
6 checks passed
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