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

UWP / MAUI WinUI3 - Offline persistence issue - Cant find the assembly even though its included #654

Open
pradeep-pappu opened this issue Oct 22, 2024 · 4 comments

Comments

@pradeep-pappu
Copy link

Describe the bug
Target: In MAUI, when targeted to run on Windows.
Setup: Enable offline persistence is true and Rollbar.OfflinePersistence nuget is added as a dependency.
Error: To enable offline persistence, you must provide the package 'Rollbar.OfflinePersistence' as a dependency of your project, so the Rollbar.OfflinePersistence.dll is available.

To Reproduce
Steps to reproduce the behavior:
Please follow the above description.

Expected behavior
Should honour the offline persistence.
PayloadStoreRepositoryHelper.CreatePayloadStoreRepository - should be updated to use the AppDomain.CurrentDomain.GetAssemblies()

Rollbar Client - Rollbar.NET Hosting Environment (please complete the following information):

  • Rollbar.NET Host type: Mobile app - MAUI
  • OS and its version: Windows
  • .NET flavor and its version: .NET Framework (8.0)
  • Application framework and its version: MAUI
  • Rollbar.NET Version: 5.2.2
  • Applicable Rollbar Plug-in (if any): Rollbar.OfflinePersistence (5.2.2)
  • Applicable custom third party logging library/framework integration (if any):
  • Applicable Browser (if any):
@pradeep-pappu
Copy link
Author

var assessmbly = AppDomain.CurrentDomain.GetAssemblies().FirstOrDefault(x => x.ManifestModule.Name == ASSEMBLY);

This is able to find the assembly correctly in WINUI. Was wondering if CreatePayloadStoreRepository could be updated with the above change. This will help with integrating the Rollbar into MAUI based app.

@pradeep-pappu
Copy link
Author

Any updates on this? I dont have access to the linear ticketing system, so would appreciate any help in this regard.

@zdavis-rollbar
Copy link

@pradeep-pappu this has been added to our backlog and we currently do not have a timeline as we have limited MAUI support.

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

2 participants