화제×
Xamarin components for Experience Cloud Solutions 4.x SDK
이번 주제에서는 Mobile solutions 4.x SDK용 Xamarin 구성 요소를 사용하여 시작하는 방법을 설명합니다.
마지막 업데이트 날짜:
2019년 1월 10일
시작하기
Adobe Mobile SDK is no longer available in the Xamarin Components Store or in the NuGet Gallery. Xamarin 구성요소를 다운로드하려면
GitHub
이로 이동하십시오.
Android
ADBMobile 구성 요소를 Xamarin.Android 프로젝트로 가져옵니다.
- Xamarin 프로젝트 열기
- Open References dialog and click the .Net Assembly tab.
- Select from the lib/Android folder. ADBMobile.XamarinAndroidBinding.dll
- Add your ADBMobileConfig.json file to the Assets folder of your project.
- 다음에 대한 권한 추가:
- INTERNET
- ACCESS_NETWORK_STATE
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- 인앱 메시지를 사용하는 경우 다음 활동 및 수신기를 추가합니다.
<activity android:name="com.adobe.mobile.MessageFullScreenActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" /> <receiver android:name="com.adobe.mobile.MessageNotificationHandler" />
- If you are using acquisition, add the following receiver :
<receiver android:name="com.your.package.name.GPBroadcastReceiver" android:exported="true"> <intent-filter> <action android:name="com.android.vending.INSTALL_REFERRER" /> </intent-filter> </receiver>
iOS
ADBMobile 구성 요소를 Xamarin.iOS 프로젝트로 가져옵니다.
- Xamarin 프로젝트를 엽니다.
- Open References dialog and click the .Net Assembly tab.
- Select from the lib/ios-unified folder. ADBMobile.XamarinIOSBinding.dll
- ADBMobileConfig.json 파일을 프로젝트에 추가합니다.