The type or namespace name 'RemoteConfig' does not exist in the namespace 'Unity'

My Unity version is 2019.1.8f

I imported the RemoteConfig package from the asset store in my game .M trying to use it llike this

using Unity.RemoteConfig;

And Config Response like this
void ApplyRemoteSettings (ConfigResponse configResponse) { switch (configResponse.requestOrigin) { case ConfigOrigin.Default: Debug.Log ("No settings loaded this session; using default values."); break; case ConfigOrigin.Cached: Debug.Log ("No settings loaded this session; using cached values from a previous session."); break; case ConfigOrigin.Remote: Debug.Log ("New settings loaded this session; update values accordingly."); appVersion = ConfigManager.appConfig.GetFloat ("appversion"); Debug.Log(" app version from remote config :"+ appVersion); break; }

But i get these 2 errors

error CS0234: The type or namespace name 'RemoteConfig' does not exist in the namespace 'Unity' (are you missing an assembly reference?)

and this

error CS0246: The type or namespace name 'ConfigResponse' could not be found (are you missing a using directive or an assembly reference?)

Please help .

I experienced the same bug after updating RemoteConfig to version 1.4.0.
My problem was that I have an assembly definition in my Scripts folder so the scripts could not access the RemoteConfig namespace.
To fix it I’ve added com.unity.remote-config to the Assembly Definition References list.