Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Bit v8.10.0-pre-05 Maui project on Android Emulator 10 #8232

Open
1 task done
mr-farzam opened this issue Aug 5, 2024 · 0 comments
Open
1 task done

Running Bit v8.10.0-pre-05 Maui project on Android Emulator 10 #8232

mr-farzam opened this issue Aug 5, 2024 · 0 comments

Comments

@mr-farzam
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

In Bit.Boilerplate version 8.10.0-pre-05
On Android Emulator 14 it connects to the api, but on Android Emulator 10 it doesn't.
I made a new version of Android 10 with default settings, it wouldn't connect again, and when signing in, it shows this error in the console:
Project1.Client.Core.Services.ExceptionHandlerBase: Error: Microsoft.JSInterop.JSException: Could not find 'BitBlazorUI.Utils.setProperty' ('BitBlazorUI' was undefined).
at https://0.0.0.0/_framework/blazor.webview.js:1:540

Expected Behavior

[0:] Project1.Client.Core.Services.ExceptionHandlerBase: Error: Microsoft.JSInterop.JSException: Could not find 'BitBlazorUI.Utils.setProperty' ('BitBlazorUI' was undefined).
Error: Could not find 'BitBlazorUI.Utils.setProperty' ('BitBlazorUI' was undefined).
at https://0.0.0.0/_framework/blazor.webview.js:1:540
at Array.forEach ()
at l.findFunction (https://0.0.0.0/_framework/blazor.webview.js:1:508)
at w (https://0.0.0.0/_framework/blazor.webview.js:1:5251)
at https://0.0.0.0/_framework/blazor.webview.js:1:3044
at new Promise ()
at g.beginInvokeJSFromDotNet (https://0.0.0.0/_framework/blazor.webview.js:1:3007)
at External.__callback (https://0.0.0.0/_framework/blazor.webview.js:1:48020)
at MessagePort. (:23:21)
at Microsoft.JSInterop.JSRuntime.d__16`1[[Microsoft.JSInterop.Infrastructure.IJSVoidResult, Microsoft.JSInterop, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext()
at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
at Bit.BlazorUI.BitCheckbox.OnParametersSetAsync() in /home/runner/work/bitplatform/bitplatform/src/BlazorUI/Bit.BlazorUI/Components/Inputs/Checkbox/BitCheckbox.razor.cs:line 129
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Microsoft.JSInterop.JSException: Could not find 'BitBlazorUI.Utils.setProperty' ('BitBlazorUI' was undefined).
Error: Could not find 'BitBlazorUI.Utils.setProperty' ('BitBlazorUI' was undefined).
at https://0.0.0.0/_framework/blazor.webview.js:1:540
at Array.forEach ()
at l.findFunction (https://0.0.0.0/_framework/blazor.webview.js:1:508)
at w (https://0.0.0.0/_framework/blazor.webview.js:1:5251)
at https://0.0.0.0/_framework/blazor.webview.js:1:3044
at new Promise ()
at g.beginInvokeJSFromDotNet (https://0.0.0.0/_framework/blazor.webview.js:1:3007)
at External.__callback (https://0.0.0.0/_framework/blazor.webview.js:1:48020)
at MessagePort. (:23:21)
at Microsoft.JSInterop.JSRuntime.d__161[[Microsoft.JSInterop.Infrastructure.IJSVoidResult, Microsoft.JSInterop, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext() at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args) at Bit.BlazorUI.BitCheckbox.OnParametersSetAsync() in /home/runner/work/bitplatform/bitplatform/src/BlazorUI/Bit.BlazorUI/Components/Inputs/Checkbox/BitCheckbox.razor.cs:line 129 at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task) at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState) [DOTNET] fail: Project1.Client.Core.Services.ExceptionHandlerBase[0] [DOTNET] Microsoft.JSInterop.JSException: Could not find 'BitBlazorUI.Utils.setProperty' ('BitBlazorUI' was undefined). [DOTNET] Error: Could not find 'BitBlazorUI.Utils.setProperty' ('BitBlazorUI' was undefined). [DOTNET] at https://0.0.0.0/_framework/blazor.webview.js:1:540 [DOTNET] at Array.forEach (<anonymous>) [DOTNET] at l.findFunction (https://0.0.0.0/_framework/blazor.webview.js:1:508) [DOTNET] at w (https://0.0.0.0/_framework/blazor.webview.js:1:5251) [DOTNET] at https://0.0.0.0/_framework/blazor.webview.js:1:3044 [DOTNET] at new Promise (<anonymous>) [DOTNET] at g.beginInvokeJSFromDotNet (https://0.0.0.0/_framework/blazor.webview.js:1:3007) [DOTNET] at External.__callback (https://0.0.0.0/_framework/blazor.webview.js:1:48020) [DOTNET] at MessagePort.<anonymous> (<anonymous>:23:21) [DOTNET] at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__161[[Microsoft.JSInterop.Infrastructure.IJSVoidResult, Microsoft.JSInterop, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext()
[DOTNET] at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
[DOTNET] at Bit.BlazorUI.BitCheckbox.OnParametersSetAsync() in /home/runner/work/bitplatform/bitplatform/src/BlazorUI/Bit.BlazorUI/Components/Inputs/Checkbox/BitCheckbox.razor.cs:line 129
[DOTNET] at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
[DOTNET] at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
[DOTNET] at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
[DOTNET] Microsoft.JSInterop.JSException: Could not find 'BitBlazorUI.Utils.setProperty' ('BitBlazorUI' was undefined).
[DOTNET] Error: Could not find 'BitBlazorUI.Utils.setProperty' ('BitBlazorUI' was undefined).
[DOTNET] at https://0.0.0.0/_framework/blazor.webview.js:1:540
[DOTNET] at Array.forEach ()
[DOTNET] at l.findFunction (https://0.0.0.0/_framework/blazor.webview.js:1:508)
[DOTNET] at w (https://0.0.0.0/_framework/blazor.webview.js:1:5251)
[DOTNET] at https://0.0.0.0/_framework/blazor.webview.js:1:3044
[DOTNET] at new Promise ()
[DOTNET] at g.beginInvokeJSFromDotNet (https://0.0.0.0/_framework/blazor.webview.js:1:3007)
[DOTNET] at External.__callback (https://0.0.0.0/_framework/blazor.webview.js:1:48020)
[DOTNET] at MessagePort. (:23:21)
[DOTNET] at Microsoft.JSInterop.JSRuntime.d__16`1[[Microsoft.JSInterop.Infrastructure.IJSVoidResult, Microsoft.JSInterop, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext()
[DOTNET] at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
[DOTNET] at Bit.BlazorUI.BitCheckbox.OnParametersSetAsync() in /home/runner/work/bitplatform/bitplatform/src/BlazorUI/Bit.BlazorUI/Components/Inputs/Checkbox/BitCheckbox.razor.cs:line 129
[DOTNET] at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
[DOTNET] at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
[DOTNET] at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

8.0

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant