File tree Expand file tree Collapse file tree 10 files changed +54
-15
lines changed
Expand file tree Collapse file tree 10 files changed +54
-15
lines changed Original file line number Diff line number Diff line change 99 <application
1010 android : allowBackup =" true"
1111 android : supportsRtl =" true" >
12- <activity android : name =" .BootpayActivity " android : screenOrientation =" portrait" >
12+ <innerActivity android : name =" .BootpayInnerActivity " android : screenOrientation =" portrait" >
1313 <intent-filter >
1414 <action android : name =" android.intent.action.VIEW" />
1515 <data android : host =" app2app" android : scheme =" bootpay" />
1616 </intent-filter >
17- </activity >
17+ </innerActivity >
1818 </application >
1919
2020</manifest >
Original file line number Diff line number Diff line change @@ -471,7 +471,7 @@ private void requestApi() {
471471 }
472472
473473 private void requestApp2App () {
474- Intent intent = new Intent (context , BootpayActivity .class );
474+ Intent intent = new Intent (context , BootpayInnerActivity .class );
475475 context .startActivity (intent );
476476 }
477477
Original file line number Diff line number Diff line change 1+ package kr .co .bootpay ;
2+
3+ import android .app .Activity ;
4+
5+ import kr .co .bootpay .listner .EventListener ;
6+
7+ public class BootpayFlutterActivity extends Activity implements EventListener {
8+
9+
10+ @ Override
11+ public void onError (String message ) {
12+
13+ }
14+
15+ @ Override
16+ public void onCancel (String message ) {
17+
18+ }
19+
20+ @ Override
21+ public void onClose (String message ) {
22+
23+ }
24+
25+ @ Override
26+ public void onReady (String message ) {
27+
28+ }
29+
30+ @ Override
31+ public void onConfirm (String message ) {
32+
33+ }
34+
35+ @ Override
36+ public void onDone (String message ) {
37+
38+ }
39+ }
Original file line number Diff line number Diff line change 1212import kr .co .bootpay .model .Request ;
1313import kr .co .bootpay .pref .UserInfo ;
1414
15- public class BootpayActivity extends Activity {
15+ public class BootpayInnerActivity extends Activity {
1616
1717 public static final int REQUEST_INTERNAL = 1000 ; // 원격결제
1818 public static final int REQUEST_NOTEPAYMENT = 1001 ; // 수기결제
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ public class WayApp2AppBuilder {
259259// if (listener == null && (error == null || cancel == null || done == null))
260260// error("Must to be required to handel events.");
261261//
262- // Intent intent = new Intent(context, BootpayActivity .class);
262+ // Intent intent = new Intent(context, BootpayInnerActivity .class);
263263// context.startActivity(intent);
264264// }
265265//
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ package kr.co.bootpay.app2app.payapp
22
33import android.content.Context
44import android.util.Log
5- import kr.co.bootpay.BootpayActivity
5+ import kr.co.bootpay.BootpayInnerActivity
66import rx.Scheduler
77import rx.schedulers.Schedulers
88import java.util.concurrent.Executors
99
10- internal class PayappPresenter (activity : BootpayActivity , context : Context ) {
11- private val activity : BootpayActivity by lazy { activity }
10+ internal class PayappPresenter (innerActivity : BootpayInnerActivity , context : Context ) {
11+ private val innerActivity : BootpayInnerActivity by lazy { innerActivity }
1212 private val rest: PayappRestService by lazy { PayappRestService (context) }
1313 private val executor: Scheduler by lazy { Schedulers .from(Executors .newCachedThreadPool()) }
1414
Original file line number Diff line number Diff line change 1414 android : roundIcon =" @mipmap/ic_launcher_round"
1515 android : supportsRtl =" true"
1616 android : theme =" @style/AppTheme" >
17- <activity android : name =" .MainActivity" >
17+ <innerActivity android : name =" .MainActivity" >
1818 <intent-filter >
1919 <action android : name =" android.intent.action.MAIN" />
2020
2121 <category android : name =" android.intent.category.LAUNCHER" />
2222 </intent-filter >
23- </activity >
23+ </innerActivity >
2424
25- <activity android : name =" .NativeActivity" android : screenOrientation =" portrait" />
26- <activity android : name =" .WebAppActivity" android : screenOrientation =" portrait" />
27- <activity android : name =" .LocalHtmlActivity" android : screenOrientation =" portrait" />
28- <activity android : name =" .App2AppActivity" android : screenOrientation =" portrait" />
29- <activity android : name =" kr.co.bootpay.BootpayActivity " android : screenOrientation =" portrait" />
25+ <innerActivity android : name =" .NativeActivity" android : screenOrientation =" portrait" />
26+ <innerActivity android : name =" .WebAppActivity" android : screenOrientation =" portrait" />
27+ <innerActivity android : name =" .LocalHtmlActivity" android : screenOrientation =" portrait" />
28+ <innerActivity android : name =" .App2AppActivity" android : screenOrientation =" portrait" />
29+ <innerActivity android : name =" kr.co.bootpay.BootpayInnerActivity " android : screenOrientation =" portrait" />
3030 </application >
3131
3232</manifest >
You can’t perform that action at this time.
0 commit comments