feat(ios): share extension ile Ratebubble iOS istemcisini ekle ve paylaşım akışını düzelt

This commit is contained in:
2026-03-01 18:07:07 +03:00
parent 8c66fa9b82
commit 5c6a829a4d
20 changed files with 1235 additions and 0 deletions

39
ios/README.md Normal file
View File

@@ -0,0 +1,39 @@
# Ratebubble iOS (v1)
Bu klasör, Ratebubble için iOS ana uygulama + Share Extension iskeletini içerir.
## Hedef
- Netflix uygulamasından paylaşılan URL'yi almak
- Ana app'e handoff etmek
- Backend `/api/getinfo` endpointine gönderip sonucu göstermek
## Gereksinimler
- Xcode 15+
- iOS 16+
- (Opsiyonel) XcodeGen
## Proje Oluşturma (XcodeGen)
```bash
cd ios
xcodegen generate
open Ratebubble.xcodeproj
```
Eğer `xcodegen` kurulu değilse:
```bash
brew install xcodegen
```
## Yapılandırma
`Ratebubble/Resources/Config.xcconfig` dosyasında:
- `API_BASE_URL`
- `MOBILE_API_KEY`
- `APP_GROUP_ID`
- `APP_URL_SCHEME`
değerlerini ortamına göre güncelle.
## Not
Share Extension, URL'yi App Group `UserDefaults` içine yazar ve custom URL scheme ile ana app'i açar.