feat(ios): share extension ile Ratebubble iOS istemcisini ekle ve paylaşım akışını düzelt
This commit is contained in:
39
ios/README.md
Normal file
39
ios/README.md
Normal 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.
|
||||
Reference in New Issue
Block a user