platform

Deprecated

This function is not Apollo specific and will be removed in a future version. Copy/paste it in your codebase if you need it

The current platform. This is used from tests because Double.toString() doesn't behave the same on JS and other platforms. Prefer more specific functions like assertMainThreadOnNative when possible instead of checking the platform.

Deprecated

This function is not Apollo specific and will be removed in a future version. Copy/paste it in your codebase if you need it

The current platform. This is used from tests because Double.toString() doesn't behave the same on JS and other platforms. Prefer more specific functions like assertMainThreadOnNative when possible instead of checking the platform.

Deprecated

This function is not Apollo specific and will be removed in a future version. Copy/paste it in your codebase if you need it

The current platform. This is used from tests because Double.toString() doesn't behave the same on JS and other platforms. Prefer more specific functions like assertMainThreadOnNative when possible instead of checking the platform.

actual fun platform(): Platform

Deprecated

This function is not Apollo specific and will be removed in a future version. Copy/paste it in your codebase if you need it

The current platform. This is used from tests because Double.toString() doesn't behave the same on JS and other platforms. Prefer more specific functions like assertMainThreadOnNative when possible instead of checking the platform.

Deprecated

This function is not Apollo specific and will be removed in a future version. Copy/paste it in your codebase if you need it

The current platform. This is used from tests because Double.toString() doesn't behave the same on JS and other platforms. Prefer more specific functions like assertMainThreadOnNative when possible instead of checking the platform.