Open digracesion opened 6 years ago
Do you have any sample code? So far the packages I have been using seem to be working fine.
i just made a pull request of this project and imported the project to create a new one, but the bot doesn't respond at all. pretty sure the credentials are working fine since i lent them to someone who tried to create an ios app
Can the app build? If so, dont forget to check your permissions in android itself.
i've checked the permissions. however, the app fails to build.
Can you link your error message when you build? It might be that you havent installed the v2 model yet. You can do that with npm
Getting the same error while trying to build the sample app.
All these imports are error-ed out:
import ai.api.AIServiceException;
import ai.api.RequestExtras;
import ai.api.model.AIContext;
import ai.api.model.AIError;
import ai.api.model.AIEvent;
import ai.api.model.AIRequest;
import ai.api.model.AIResponse;
import ai.api.model.Metadata;
import ai.api.model.Result;
import ai.api.model.Status;
The entire model package is missing, along with other files stated above.
Solution: You can see https://github.com/dialogflow/dialogflow-android-client/blob/master/docs/integration.md This would work.
packages from ai.api seems to have been deprecated as api.ai has been changed to dialogflow v2. how do I fix this problem?