質問

広告を表示するためにアプリケーションに Greystrip SDK を統合した人はいますか。SDK でクラッシュの問題に直面していますが、それを克服する方法がわかりません。

添付ファイル付きのメールを grey Stripe-sdk の担当者に送信しましたが、クラッシュ ログをここに投稿するのは、他の誰かが以前にクラッシュ ログを見て、それを乗り越えていたであろうという理由からです。

または、最初から全画面で広告を表示する広告表示 SDK をご存知ですか。

ありがとう、

マドハップ

**This is the crash log when the ad is going to be displayed.**

-#0 0x30011940 in objc_msgSend ()

-#1 0x000306a8 in -[GSContentController viewDidAppear:] (self=, _cmd=, a_animated=) /greyストライプ/source/platforms/iPhone/SDK/Classes/GSContentController.m:1012

-#2 0x00033532 in -[GSController presentControllerAnimationDidStop:finished:context:] (self=, _cmd=, a_string=, a_finished=, a_context=0x5f1f710) /greyストライプ/source/platforms/iPhone/SDK/Classes/GSController.m: 612

-#3 0x000346b6 in -[GSController presentController:animated:] (self=0x11e2d0, _cmd=, a_controller=0x1204f0, a_animated=0 '\000') /greyストライプ/source/platforms/iPhone/SDK/Classes/GSController.m :298

-#4 0x00045874 in -[GSStandardCommandHandler displayContent:] (self=0x13b0f0, _cmd=, a_display=) /greyストライプ/source/platforms/iPhone/SDK/Classes/GSStandardCommandHandler.m:671

-#5 0x3020ee44 インチ 呼び出し中_ ()

-#6 0x30262ac6 in -[NSInvocation 呼び出し] ()

-#7 0x30262a48 内 -[NSInvocation invokeWithTarget:] ()

-#8 0x000366f8 in -[GSJavascriptBridge forwardInvocation:] (self=, _cmd=, a_invocation=) at /greyストライプ/source/platforms/iPhone/SDK/Classes/GSJavascriptBridge.m:359

-#9 0x30218094 インチ 転送 ()

-#10 0x3020eda0 インチ forwarding_prep_0_ ()

-#11 0x3020ee44 インチ 呼び出し中_ ()

-#12 0x30262ac6 in -[NSInvocation 呼び出し] ()

-#13 0x00036ea2 in -[GSJavascriptBridgeexecuteCocoaCommand:] (self=0x13c810, _cmd=, a_commandString=0x5f1a9b0) at /greyストライプ/source/platforms/iPhone/SDK/Classes/GSJavascriptBridge.m:419

-#14 0x00037000 in -[GSJavascriptBridge ポーリング] (self=0x13c810, _cmd=) at /greyストライプ/source/platforms/iPhone/SDK/Classes/GSJavascriptBridge.m:385

-#15 0x3050e47e __NSFireTimer ()

-#16 0x30254a0e (CFRunLoopRunSpecific)

-#17 0x3025416a (CFRunLoopRunInMode)

-#18 0x320452a4 in GSEventRunModal ()

-#19 0x308f037c in -[UIApplication _run] ()

-#20 0x308eea94 UIApplicationMain ()

**This crash also occurs when ad is about to display.**

*** -[WAKScrollView makeKeyAndVisible]:認識できないセレクターがインスタンス 0x1e7470 に送信されました

**This crash happens when the ad is closed by pressing the skip button on the screen.**

*** -[NSCFString setHidden:]:認識されないセレクターがインスタンス 0x1b6cf0 に送信されました

プログラム受信信号:「EXC_BAD_ACCESS」。(gdb)where -#0 0x30011940 in objc_msgsend()

-#1 0x000348a2 in -[GSController dismissController:animated:] (self=0x11e6f0, _cmd=, a_controller=0x120840, a_animated=0 '\000') /greyストライプ/source/platforms/iPhone/SDK/Classes/GSController.m :307

-#2 0x000459a2 in -[GSStandardCommandHandler displayContent:] (self=0x114170, _cmd=, a_display=) /greyストライプ/source/platforms/iPhone/SDK/Classes/GSStandardCommandHandler.m:676

-#3 0x0004578e in -[GSStandardCommandHandler actionSheet:didDismissWithButtonIndex:] (self=0x114170, _cmd=, a_actionSheet=, a_buttonIndex=374296) /greyストライプ/source/platforms/iPhone/SDK/Classes/GSStandardCommandHandler.m:767

-#4 0x30a72d44 in -[UIActionSheet(プライベート) _alertSheetAnimationDidStop:finished:] ()

-#5 0x3093b028 in -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] ()

-#6 0x3093aec0 in -[UIViewAnimationState アニメーションDidStop:finished:] ()

-#7 0x3293a43c in run_animation_callbacks ()

-#8 0x3293a244 CA::timer_callback ()

-#9 0x30254a0e (CFRunLoopRunSpecific)

-#10 0x3025416a (CFRunLoopRunInMode)

-#11 0x320452a4 in GSEventRunModal ()

-#12 0x308f037c in -[UIApplication _run] ()

-#13 0x308eea94 UIApplicationMain ()

役に立ちましたか?

解決 2

皆さん、解決策を見つけました。だから私はただ私の考えを共有したいと思います。

グレーストライプのドキュメントには、広告が表示されている間はすべての更新とレンダリングを停止するように明確に記載されています。

私がやっていたのは、アラートが閉じられる前に広告表示メソッドを呼び出し、adWillClose からアラートを表示するために呼び出したという間違いでした。そのため、問題を解決するのに2日間問題が発生しました。

今、0.1秒の遅延でadDisplayメソッドとalertメソッドを呼び出していますが、問題は解決しました。

編集: このリンクからも確認できます... http://www.torquepowered.com/community/forums/viewthread/105119

これが他の体にも役立つことを願っています。

ありがとう、

マドハップ

他のヒント

ここでGreystripeのサポート。私はあなたに電子メールを介して、いくつかのフォローアップの質問を送っています。

私たちは、これが自宅で一緒に誰の演奏のために、考え出し持ってたら、ここに解決策を投稿してくださいます。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top