Developers
Objective-C: quickstart
Install and first-use steps for sending events to Feralin with Objective-C. Code samples come from the SDK's own README and statuses from the capability record.
Install
There is no package published on SPM yet. The package is downloaded from feralin.com; the commands first verify the SHA-256 digest of feralin-objc-0.1.0.tar.gz and stop if verification fails.
mkdir -p feralin-sdk
curl -fsSL https://feralin.com/sdk/packages/feralin-objc-0.1.0.tar.gz -o feralin-sdk/feralin-objc-0.1.0.tar.gz
echo "83fa506f63220bd26b672c811d3eebfb82767c2775a355bf707992f57be6954d feralin-sdk/feralin-objc-0.1.0.tar.gz" | sha256sum -c -
tar -xzf feralin-sdk/feralin-objc-0.1.0.tar.gz -C feralin-sdkAfter extracting the archive, follow the Installation section in feralin-sdk/feralin-objc-0.1.0/README.md.
First use
@import FeralinObjC;
FRLConfiguration *ayar = [[FRLConfiguration alloc] initWithProjectKey:@"pk_live_..."
collectURL:@"https://collect.example.com"];
ayar.consent = [[FRLConsent alloc] initWithAnalytics:YES advertising:NO personalization:NO sessionReplay:NO];
NSError *hata = nil;
FRLFeralin *feralin = [[FRLFeralin alloc] initWithConfiguration:ayar error:&hata];
[feralin track:@"order_completed"
properties:@{@"order_id": @"ord_1", @"amount": @249.9}
completion:^(NSString *eventID, NSError *error) { /* izin yoksa ikisi de nil */ }];
[feralin flushWithCompletion:^(FRLFlushResult *sonuc, NSError *error) {
if (sonuc.ok) { /* sonuc.accepted, sonuc.batchID */ }
}];Code samples are taken as they are from sdks/objc/README.md; comments inside may be in Turkish. You create the project key in the dashboard.
Capabilities
| Capability | Status |
|---|---|
| Event sending | Planned |
| Batch sending | Planned |
| Consent handling | Planned |
| Identity | Planned |
| Attribution | Planned |
| Deep links | Planned |
| Revenue | Planned |
| Error capture | Planned |
| Session replay | Not applicable |
| Tracing | Planned |
Verification chain
| Link | Status |
|---|---|
| Source | Partial |
| Build | Not run |
| Test | Not run |
| Registry publication | Waiting for external access |
| Clean install | Not run |
| Event receipt | Not run |
| Documentation | Passed |
| Super Admin proof | Not started |
Passed means local evidence: source, build and tests ran. Registry publication and Super Admin proof are separate links; the SDK is not called ready until each has passed.