Git Product home page Git Product logo

example-android-kotlin's Introduction

Ready Player Me Webview Android Kotlin Example

This example showcases running Ready Player Me avatar creator in a native Android WebView and retrieving the avatar URL.


About Ready Player Me

Ready Player Me is a cross-app avatar platform for the metaverse used by 1,000+ companies.

Getting Started

Read the documentation to get started with integrating Ready Player Me or explore the examples.

Add Ready Player Me avatars to your app or game

Do you want to add Ready Player Me avatars to your own app or game? Learn how to become a Partner.

Community

Get in touch with the Ready Player Me community over at our Discord.

example-android-kotlin's People

Contributors

danielmarcinkowski avatar harrisonhough avatar ihfazhillah avatar rk132 avatar srcnalt avatar tiivik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

example-android-kotlin's Issues

Ready Player Me integration in android application

During integration of the Ready Player Me Avatar in android application, I followed the steps given in documentation (https://docs.readyplayer.me/integration-guides/android-native). But the steps which are given in the documentation are not clearly specified.

Only the first step in the documentation is clear and able to develop. That means Iโ€™m able to only redirect the user to the partner domain where user can create the avatar but not able to retrieve the Avatar URL to the app side. So we can use the URL as per our requirements.

So, can you please help me with how to retrieve the Avatar URL to the app side.

subdomain issue

subdomain issue in android native app, when I am using demo domain it works perfectly ,but when used my own domain it crashes, I tried with other domain but same result

Cannot update avatar

I tried to run example code
After creating an avatar from webview, button "Update Avatar" showing, but when I click into this button, it take me to a create avatar.
Seem this is wrong behavior, it should bring me to update avatar page, not create page.

Do I need to do anything to make that work? Thank you

Capture failed on moto g6

android version : 8
log:

2023-09-28 17:14:02.649 6267-6267 WEBVIEWACTIVITY com.kotlin.readyplayerme I onCreate: isCreateNew true
2023-09-28 17:14:02.705 6267-6267 ON RESULT com.kotlin.readyplayerme D no data bitmap: android.graphics.Bitmap@80dda81
2023-09-28 17:14:02.758 6267-6267 MiniThumbFile com.kotlin.readyplayerme V Translate to actual pos -1 from 6042
2023-09-28 17:14:05.708 6267-6267 chromium com.kotlin.readyplayerme I [INFO:CONSOLE(7)] "[object Object] [object Object]", source: https://demo.readyplayer.me/_next/static/chunks/pages/_app-219095651ab31e39.js (7)
2023-09-28 17:14:05.725 6267-6267 chromium com.kotlin.readyplayerme I [INFO:CONSOLE(7)] "/!\ You are using legacy implementaion. Please update your code: use createWrapper() and wrapper.useWrappedStore().", source: https://demo.readyplayer.me/_next/static/chunks/pages/_app-219095651ab31e39.js (7)
2023-09-28 17:14:05.759 6267-6267 chromium com.kotlin.readyplayerme I [INFO:CONSOLE(7)] "[object Object] [object Object]", source: https://demo.readyplayer.me/_next/static/chunks/pages/_app-219095651ab31e39.js (7)
2023-09-28 17:14:06.345 6267-6267 chromium com.kotlin.readyplayerme I [INFO:CONSOLE(7)] "[object Object] [object Object]", source: https://demo.readyplayer.me/_next/static/chunks/pages/_app-219095651ab31e39.js (7)
2023-09-28 17:14:06.349 6267-6267 chatty com.kotlin.readyplayerme I uid=10152(u0_a152) com.kotlin.readyplayerme identical 1 line
2023-09-28 17:14:06.668 6267-6267 chromium com.kotlin.readyplayerme I [INFO:CONSOLE(7)] "[object Object] [object Object]", source: https://demo.readyplayer.me/_next/static/chunks/pages/_app-219095651ab31e39.js (7)
2023-09-28 17:14:06.669 6267-6267 chromium com.kotlin.readyplayerme I [INFO:CONSOLE(16)] "Uncaught TypeError: Cannot read properties of null (reading 'remove')", source: https://demo.readyplayer.me/avatar?frameApi (16)
2023-09-28 17:14:07.120 6267-6353 chromium com.kotlin.readyplayerme W [WARNING:http_cache_transaction.cc(2395)] Multiple or malformed validation headers found.
2023-09-28 17:14:07.570 6267-6267 chromium com.kotlin.readyplayerme I [INFO:CONSOLE(7)] "[object Object] [object Object]", source: https://demo.readyplayer.me/_next/static/chunks/pages/_app-219095651ab31e39.js (7)
2023-09-28 17:14:07.770 6267-6267 chromium com.kotlin.readyplayerme I [INFO:CONSOLE(7)] "[object Object] [object Object]", source: https://demo.readyplayer.me/_next/static/chunks/pages/_app-219095651ab31e39.js (7)
2023-09-28 17:14:07.770 6267-6267 chromium com.kotlin.readyplayerme I [INFO:CONSOLE(16)] "Uncaught TypeError: Cannot read properties of null (reading 'remove')", source: https://demo.readyplayer.me/avatar?frameApi (16)
2023-09-28 17:14:08.148 6267-6276 zygote com.kotlin.readyplayerme I Debugger is no longer active
2023-09-28 17:14:11.528 6267-6267 chromium com.kotlin.readyplayerme I [INFO:CONSOLE(1)] "WARNING: Multiple instances of Three.js being imported.", source: https://demo.readyplayer.me/_next/static/chunks/fb7d5399.1bdf6741bf71b253.js (1)
2023-09-28 17:14:11.787 6267-6267 chromium com.kotlin.readyplayerme I [INFO:CONSOLE(1)] "Detected multiple Jotai instances. It may cause unexpected behavior. pmndrs/jotai#2044", source: https://demo.readyplayer.me/_next/static/chunks/8321.c5ee244dc3bd0f56.js (1)

Webview Permission Denied On Second Time Opening Camera

I am getting this error when i am trying to open Camera Second time here is log that shown in my LogCat

[ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
2023-02-21 18:56:44.188 15231-15231 chromium com.app.elmonx E [ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
2023-02-21 18:56:44.195 15231-15351 cr_media com.app.elmonx W Requires MODIFY_AUDIO_SETTINGS and RECORD_AUDIO. No audio device will be available for recording

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.