-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed to not include Firebase implementation on the iOS side #580
Conversation
iOS側にFirebaseの実装を入れないように変更
@@ -159,6 +160,8 @@ class RemoteConfigModule { | |||
@Provides | |||
@Singleton | |||
fun provideFirebaseRemoteConfig(): RemoteConfigApi { | |||
return DefaultRemoteConfigApi() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can move DefaultRemoteConfigApi to androidMain and you can leave this providing DefaultRemoteConfigApi as it is 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DefaultRemoteConfigApi is in commonMain currently. I would like you to bring it to androidMain 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to confirm the operation and get a normal value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not for Andorid but for iOS 🙏
When iOS use DefaultRemoteConfigApi, DefaultRemoteConfigApi don't have the implementation class right?
Also can you check this?
./gradlew :app-ios-shared:assembleSharedReleaseXCFramework
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fully understood 🙆♂️
./gradlew :app-ios-shared:assembleSharedReleaseXCFramework
also confirms that the build passes!
DefaultRemoteConfigApiを返すように変更
|
||
import io.github.droidkaigi.confsched2023.data.remoteconfig.FakeRemoteConfigApi.Status.Default | ||
|
||
actual class DefaultRemoteConfigApi : RemoteConfigApi { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should make this class because iOS engineers will use this and won't notice if they use fake👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway it is better to work. Let me merge this
Overview (Required)
Links