Skip to content

Commit 4c71894

Browse files
committed
apps/postback-api/dbcon/queries.py
1 parent d840445 commit 4c71894

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
draft: false
3+
4+
5+
date: 2024-12-01
6+
7+
authors:
8+
- ddxv
9+
10+
categories:
11+
- Updates
12+
---
13+
14+
# IP Geo Tagging and first commits for iOS and Android SDKs
15+
16+
17+
18+
The past month I focused on getting a v0.0.1 of the Android SDK working. I also worked on some basic geo IP tagging and best of all we had a super talented person show up to help with iOS SDKs.
19+
20+
## Android SDK
21+
22+
This turned out to take a bit longer than expected, but now at least there is a very basic example of how it could one day work. What we have now is just a single function that calls `app_open` event from an Android Application. The [OpenAttribution Android SDK](https://github.com/OpenAttribution/oa-android-sdk) is also live on Maven Central and can be added as a dependency to any Android project
23+
24+
25+
## IP Geo Tagging
26+
27+
A simple IP geo tagging service was added to the `postback-api` to get the country and city of the user. This was also added to the various testing simulated data as well. Finally the `dash-frontend` was updated to show the country for the demo site as well.
28+
29+
30+
## iOS SDK
31+
32+
This has just gotten started as well, and likely at a much more professional setup than the Android side. The code is hosted on [OpenAttribution iOS SDK](https://github.com/OpenAttribution/oa-ios-sdk).
33+
34+
35+
So just a quick update, but things are moving forward.

apps/postback-api/dbcon/queries.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ async def get_app_links() -> dict[str, dict[str, str]]:
5050
+ df["google_store_id"]
5151
+ "&url=https://"
5252
+ df["domain_url"]
53+
+ "/"
54+
+ df["share_slug"]
5355
)
5456
if df.empty:
5557
return {}

0 commit comments

Comments
 (0)