Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2336] Registration of module class in manifest

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterRainer Schleevoigt
AssigneeUnknown
Created2017-05-04T16:13:51.000+0000
Updated2018-03-06T18:52:22.000+0000

Description

Implementation of GoogleCast as module needs to use a special class for configuring castcontext. https://developers.google.com/android/reference/com/google/android/gms/cast/framework/CastContext After building the module I cannot register the class in manifest, because the class is not part of build folder. I found the class in MODULE/android/build/classes/ti.chromecast/CastOptionsProvider.class, but after building the app a cannot find the class in build folder and at runtimes comes: Caused by: java.lang.ClassNotFoundException: Didn't find class "de.appwerft.dlrmediathek.CastOptionsProvider" In manifest:
xml
<meta-data android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME" android:value="de.appwerft.dlrmediathek.CastOptionsProvider"/>
	</application>
Any workarounds/solutions?

Comments

  1. Rainer Schleevoigt 2017-05-05

    Solved, the right syntax is BUNDLEID.MODULEID.CLASSNAME
  2. Rainer Schleevoigt 2017-05-05

    Solved

JSON Source