❔
FAQ
After the user successfully logs in, Particle Auth SDK will return the user uuid and token. You can then retrieve and verify the user info by calling a server API.
Particle Wallet supports images and 3D models. For media types not supported, the default cover image will be displayed. Audio files and video files will be supported soon.
If your project use webpack 5, you need include polyfills for node.js core modules, add config to
webpack.config.js
resolve: {
fallback: {
crypto: require.resolve("crypto-browserify"),
stream: require.resolve("stream-browserify"),
buffer: require.resolve("buffer"),
string_decoder: require.resolve("string_decoder/"),
},
plugins:[
new webpack.ProvidePlugin({
Buffer: ["buffer", "Buffer"],
})
]
}
Then add packages to your project.
yarn add crypto-browserify stream-browserify buffer string_decoder
//or
npm install crypto-browserify stream-browserify buffer string_decoder
if your project use firebase tools,Refer to the following process
Partcile Unity sdk with firebase tools .pdf
1MB
PDF
Last modified 1mo ago