bitplatform icon indicating copy to clipboard operation
bitplatform copied to clipboard

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

Open mr-farzam opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] 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.<InvokeAsync>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.<InvokeAsync>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.<InvokeAsync>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

mr-farzam avatar Aug 05 '24 12:08 mr-farzam