https://github.com/fullstorydev/rules_android
https://github.com/fullstorydev/rules_android
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fullstorydev/rules_android
- Owner: fullstorydev
- License: apache-2.0
- Created: 2024-10-24T18:04:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-13T18:28:07.000Z (over 1 year ago)
- Last Synced: 2025-06-10T09:53:23.731Z (about 1 year ago)
- Language: Starlark
- Size: 87.9 KB
- Stars: 0
- Watchers: 19
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Bazel rules for Fullstory + Android
> ## ⚠️ This is an experimental ruleset and not ready for usage ⚠️
The rules provided here can be used to integrate the Fullstory SDK into APKs
generated by [`bazelbuild/rules_android`](https://github.com/bazelbuild/rules_android)
## Installation
Not available yet
## Usage
### Prerequisites
- This library depends on [`bazelbuild/rules_android`](https://github.com/bazelbuild/rules_android),
and the current version requires the `--experimental_google_legacy_api` and
`--experimental_enable_android_migration_apis` flags to be set. We suggest
setting them in your `.bazelrc` as such:
```bazelrc
common --experimental_google_legacy_api
common --experimental_enable_android_migration_apis
```
### Integrating the SDK
To integrate your APK with the Fullstory SDK, you can use the `fullstory_android_binary`
rule:
```starlark
load("@fullstory_rules_android//android:defs.bzl", "fullstory_android_binary")
fullstory_android_binary(
name = "app_with_fs",
app = "//package:android_buinary_target",
)
```
This will take the unsigned APK generated by the given target, integrate it with
the Fullstory SDK, and generate new signed and unsigned APKs.