Skip to content
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

Merged
merged 6 commits into from
Aug 17, 2023

Conversation

momomomo111
Copy link
Contributor

@momomomo111 momomomo111 commented Aug 16, 2023

Overview (Required)

  • Changed to not include Firebase implementation on the iOS side.

Links

iOS側にFirebaseの実装を入れないように変更
@momomomo111 momomomo111 self-assigned this Aug 16, 2023
@@ -159,6 +160,8 @@ class RemoteConfigModule {
@Provides
@Singleton
fun provideFirebaseRemoteConfig(): RemoteConfigApi {
return DefaultRemoteConfigApi()
Copy link
Member

@takahirom takahirom Aug 16, 2023

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 🙏

Copy link
Member

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 🙏

Copy link
Contributor Author

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.

07e9400

Copy link
Member

@takahirom takahirom Aug 16, 2023

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

Copy link
Contributor Author

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!

a1621d5

DefaultRemoteConfigApiを返すように変更
@github-actions
Copy link

github-actions bot commented Aug 16, 2023

Test Results

47 tests   47 ✔️  3m 45s ⏱️
  8 suites    0 💤
  8 files      0

Results for commit a1621d5.

♻️ This comment has been updated with latest results.

@github-actions github-actions bot temporarily deployed to deploygate-distribution August 16, 2023 17:06 Inactive

import io.github.droidkaigi.confsched2023.data.remoteconfig.FakeRemoteConfigApi.Status.Default

actual class DefaultRemoteConfigApi : RemoteConfigApi {
Copy link
Member

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👀

Copy link
Member

@takahirom takahirom left a 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

@takahirom takahirom merged commit 4e760ba into main Aug 17, 2023
5 checks passed
@takahirom takahirom deleted the fix-firebase-dependencies branch August 17, 2023 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants