내 커뮤니티 업적 표시줄을 확대합니다.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Campaign SDK Version Coming as Null

Avatar

Level 2

I am using multiple Adobe Launch extensions like:

Target.registerExtension()
Analytics.registerExtension()
Identity.registerExtension()
Lifecycle.registerExtension()
Signal.registerExtension()
UserProfile.registerExtension() 

When we try to use campaign extension for push messaging, I added

Campaign.registerExtension()

as well. I also added implementation:

implementation "com.adobe.marketing.mobile:campaign:1.+"

 However, I am getting this log;

 

V/AdobeExperienceSDK: EventHub(AMSEventHub) - Registering extension 'com.adobe.module.campaign' with version 'null'

and 

V/AdobeExperienceSDK: EventHub(AMSEventHub) - New shared state data for 'com.adobe.module.eventhub' at version '0':
{
"extensions" : {
"Target" : {
"version" : "1.1.6"
},
"Signal" : {
"version" : "1.0.2"
},
"Configuration" : {
"version" : "1.5.7"
},
"UserProfile" : {
"version" : "1.1.0"
},
"com.adobe.module.campaign" : {
"version" : ""
},
"Lifecycle" : {
"version" : "1.0.6"
},
"Identity" : {
"version" : "1.2.2"
},
"Analytics" : {
"version" : "1.2.6"
}
},
"version" : "1.5.7"
}

 

How can I fix this issue? 

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee Advisor

Did you also make sure to import the campaign extension in your project? I see the implementation for your cradle file and also the register call. 

Make sure to match the sample on this page below. Also note that the extension version can be called using;

 

Campaign.extensionVersion();

 

https://aep-sdks.gitbook.io/docs/using-mobile-extensions/adobe-campaign-standard

 

 

원본 게시물의 솔루션 보기

4 답변 개

Avatar

정확한 답변 작성자:
Employee Advisor

Did you also make sure to import the campaign extension in your project? I see the implementation for your cradle file and also the register call. 

Make sure to match the sample on this page below. Also note that the extension version can be called using;

 

Campaign.extensionVersion();

 

https://aep-sdks.gitbook.io/docs/using-mobile-extensions/adobe-campaign-standard

 

 

Avatar

Level 2

I also added:

import com.adobe.marketing.mobile.Campaign;
 
However It was still same, but we made push messaging working even campaign version is coming as null. We thought it might be an issue with Adobe SDK logging. Functionality is working but not sure why version number is null in the logs. 

Avatar

Employee

Hi @mcece01,

 

We have identified the cause of the null version number and it will be fixed in the next Campaign extension release. In the meantime, the Campaign extension should be fine to use in your app. As @Ivan_Mironchuk  mentioned, you can retrieve the current Campaign extension version using

 

Campaign.extensionVersion();

 

Thanks,

Ryan

Avatar

Employee
This issue has been resolved with the latest Android Campaign Standard extension release: https://aep-sdks.gitbook.io/docs/using-mobile-extensions/adobe-campaign-standard/adobe-campaign-stan...