Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

リソースの動的指定 #2

Closed
sakebook opened this issue Dec 15, 2015 · 3 comments
Closed

リソースの動的指定 #2

sakebook opened this issue Dec 15, 2015 · 3 comments

Comments

@sakebook
Copy link

xmlで、テスト用のIDと本番用のIDを動的に切り替えようとしてるのですが、
リソースでの指定には対応していないのでしょうか?
対応予定はありますか?

<net.nend.android.NendAdView
        android:id="@+id/nend"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        NendApiKey="@string/nend_api_key"
        NendSpotId="@integer/nend_id"
        android:layout_centerHorizontal="true"
        />
  • error

    Caused by: java.lang.NumberFormatException: Invalid int: "@integer/nend_id"

ご確認よろしくお願いします。

@ghost
Copy link

ghost commented Dec 16, 2015

sakebook様

ご連絡いただきありがとうございます。
株式会社ファンコミュニケーションズ真鍋と申します。

申し訳ございませんが、現状のSDKはapiKeyおよびspotIdの
リソースファイルでの指定には対応しておりません。
こちらは次回のSDKのアップデートで対応させていただきたいと思います。
アップデート時期は年明けを予定しております。

今後ともnendをよろしくお願いいたします。

@sakebook
Copy link
Author

早速の返信ありがとうございます。

申し訳ございませんが、現状のSDKはapiKeyおよびspotIdの
リソースファイルでの指定には対応しておりません。
こちらは次回のSDKのアップデートで対応させていただきたいと思います。
アップデート時期は年明けを予定しております。

承知しました。
対応したバージョンのSDKが公開された際にコメントをいただけると幸いです。
よろしくお願いします。

@ghost
Copy link

ghost commented Jan 28, 2016

sakebook様

お世話になっております。
株式会社ファンコミュニケーションズの逸見と申します。

ご要望いただきました機能につきまして、本日リリースのv3.0.4のSDKで対応いたしました。
是非、ご利用くださいませ。

使用方法については以下のマニュアルをご参照ください。
バナー型広告_実装手順#レイアウトファイルで固定配置する場合

お待たせいたしまして申し訳ありませんでした。
今後ともnendをよろしくお願い致します。

@ghost ghost closed this as completed Mar 25, 2016
fan-t-fukuoka added a commit that referenced this issue Nov 15, 2017
Remove and replace SmallWide of native ad
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant