Giter Club home page Giter Club logo

enroute-xamarin-sdk's Issues

EnRoute_Api_MAUI_2.108.264.zip Lacks Required Android Libraries

Description:

Referencing the EnRouteApi.Android.MAUI.dll via a <Reference> tag in a MAUI app causes builds to fail for the Android target. I suspect this relates to the fact that:

In .NET, Java code is no longer embedded in the .dll -- MS

which differs from Xamarin.Android, and requires the .jar/.aar to be located next to the .dll.

However, I expected the SDK for MAUI, that I downloaded from here, to include all of the necessary artifacts needed to integrate Glympse EnRoute functionality into a MAUI app (targeting Android & iOS) -- which may or may not be a common use-case for other consumers.

Steps to Reproduce:

  1. Clone the enroute-maui-app repo
  2. Build it's master branch
  3. Notice build errors
  4. Switch to the fix branch
  5. Build
  6. Notice successful build

Link to public reproduction project repository:

Version with bug:

Affected Platform(s):

  • Android

Did you find any workaround?:

  • Yes, download the SDK for Android and place all of it's .aar's in the same folder as EnRouteApi.Android.MAUI.dll

Relevant log output:

CommonSource_ListenerWrapper.java(8,39): javac.exe error JAVAC0000:  error: package com.glympse.android.toolbox.listener does not exist
CommonSource_ListenerWrapper.java(9,27): javac.exe error JAVAC0000:  error: package com.glympse.android.core does not exist
EventSink_ListenerWrapper.java(8,26): javac.exe error JAVAC0000:  error: package com.glympse.android.api does not exist
EventSink_ListenerWrapper.java(9,27): javac.exe error JAVAC0000:  error: package com.glympse.android.core does not exist

GlympseFCM Missing Relay Methods in MAUI SDK

Hello, I'm trying to update my app's use of the EnRoute_Api_Xamarin_2.107.254 SDK to the new EnRoute_Api_MAUI_2.108.264 SDK, as part of it's Xamarin-to-MAUI migration, but am hung-up on how to properly relay Firebase Cloud Messages in this version. The app is already registered in your Firebase project with an application_id and Firebase payloads are being delegated as expected.

With the Xamarin SDK, I do this:

public override void OnMessageReceived(RemoteMessage msg)
{
    if (GlympseFCM.IsGlympseMessage(msg))
    {
        GlympseFCM.HandleMessage(this, msg);
        return;
    }

    ...
}

But in the new MAUI SDK, both the IsGlympseMessage(RemoteMessage message) and HandleMessage(Context context, RemoteMessage remoteMessage) methods don't exist on the GlympseFCM class.

image

Am I missing something? How can I pass Firebase messages to the MAUI SDK? This page in the documentation suggests it should still be possible.

Any info. would be greatly appreciated, thanks!

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.