Skip to content

Commit

Permalink
[feat/#919] SharedPreferences Debugger 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
l2hyunwoo committed Oct 17, 2024
1 parent 8abbfad commit e7a6c1e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import com.facebook.flipper.plugins.inspector.DescriptorMapping
import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin
import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor
import com.facebook.flipper.plugins.network.NetworkFlipperPlugin
import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin
import com.facebook.soloader.SoLoader
import okhttp3.OkHttpClient

Expand All @@ -41,6 +42,8 @@ object FlipperInitializer {
val client = AndroidFlipperClient.getInstance(app)
client.addPlugin(InspectorFlipperPlugin(app, DescriptorMapping.withDefaults()))
client.addPlugin(flipperNetworkPlugin)
client.addPlugin(SharedPreferencesFlipperPlugin(app, "sampleKey"))
client.addPlugin(SharedPreferencesFlipperPlugin(app, "111111"))
client.start()
}

Expand Down

0 comments on commit e7a6c1e

Please sign in to comment.