Files
ratebubble/ios/README.md

40 lines
785 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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.