Hi,
one of my libraries contains a service. With sdk34 I have to add the permit and the attribute in the manifest. After this change it works correctly
When the library is compiled, adding the attribute in the manifest generates an error because it does not find the module because it is contained in the library.
So with the sources of the uncompiled library it works perfectly. Conversely it does not work with the compiled library.
I can't distribute the library source. Is there a way to add permissions and attributes in the manifest without the compiler giving me an error?
one of my libraries contains a service. With sdk34 I have to add the permit and the attribute in the manifest. After this change it works correctly
B4X:
AddPermission(android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK)
SetServiceAttribute(MyMusicService, android:foregroundServiceType, "mediaPlayback")
When the library is compiled, adding the attribute in the manifest generates an error because it does not find the module because it is contained in the library.
So with the sources of the uncompiled library it works perfectly. Conversely it does not work with the compiled library.
I can't distribute the library source. Is there a way to add permissions and attributes in the manifest without the compiler giving me an error?